Add full project files
This commit is contained in:
12
webpack.config.js
Normal file
12
webpack.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
mode: 'production',
|
||||
entry: './server.js',
|
||||
output: {
|
||||
path: path.join(__dirname, 'dist'),
|
||||
publicPath: '/',
|
||||
filename: 'final.js'
|
||||
},
|
||||
target: 'node'
|
||||
}
|
||||
Reference in New Issue
Block a user