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
+3 -3
View File
@@ -5,13 +5,13 @@ const webpackconfig = {
target: 'node',
mode: 'development',
entry: {
server: path.resolve('bin/main.js')
server: path.resolve('lib/main.js')
},
resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
alias: {
'app': path.resolve('app'),
'bin': path.resolve('bin'),
'lib': path.resolve('lib'),
'config': path.resolve('config'),
'middleware': path.resolve('middleware'),
'public': path.resolve('public'),
@@ -48,4 +48,4 @@ const webpackconfig = {
path: true
}
}
module.exports = webpackconfig
module.exports = webpackconfig