new structure; code polish
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
||||
filename: 'build/server.js'
|
||||
},
|
||||
target: 'node',
|
||||
externals: fs.readdirSync(path.resolve(__dirname, 'node_modules')).reduce((ext, mod) => {
|
||||
externals: fs.readdirSync(path.resolve(__dirname, '../node_modules')).reduce((ext, mod) => {
|
||||
ext[mod] = 'commonjs ' + mod
|
||||
return ext
|
||||
}, {}),
|
||||
|
||||
Reference in New Issue
Block a user