This commit is contained in:
robin
2022-04-07 19:33:31 +08:00
parent a593253a63
commit c2f8473fb5
17 changed files with 271 additions and 133 deletions
+18
View File
@@ -0,0 +1,18 @@
//入口文件
require('@babel/register')({
presets: ['@babel/env'],
plugins: [
'@babel/plugin-transform-runtime',
[
'babel-plugin-webpack-alias',
{
"config": "./webpack.config.js"
}
]
]
})
require('@babel/polyfill')
const bamboo = require('./bamboo/index')
const app = new bamboo();
// app.listen(3000);