up
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
//bamboo入口
|
||||
import Koa from 'koa';
|
||||
const app = new Koa();
|
||||
app.listen(3000);
|
||||
// module.exports = class bamboo {
|
||||
//
|
||||
// }
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
//入口文件
|
||||
require('@babel/register')({
|
||||
presets: ['@babel/env'],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-runtime',
|
||||
[
|
||||
'babel-plugin-webpack-alias',
|
||||
{
|
||||
"config": "./webpack.config.js"
|
||||
}
|
||||
]
|
||||
|
||||
]
|
||||
})
|
||||
require('@babel/polyfill')
|
||||
require('./bamboo/index')
|
||||
Reference in New Issue
Block a user