This commit is contained in:
robin
2022-04-05 02:52:41 +08:00
commit a593253a63
31 changed files with 449 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
//bamboo入口
import Koa from 'koa';
const app = new Koa();
app.listen(3000);
// module.exports = class bamboo {
//
// }
+16
View File
@@ -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')