Add production
This commit is contained in:
parent
135907384e
commit
e082444a7c
2
jirs-client/.gitignore
vendored
2
jirs-client/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
pkg
|
||||
node_modules
|
||||
|
||||
dist
|
||||
|
@ -10,7 +10,7 @@ module.exports = {
|
||||
entry: path.resolve(__dirname, 'js', 'index.js'),
|
||||
output: {
|
||||
filename: '[name].js',
|
||||
path: path.resolve(__dirname, 'dev'),
|
||||
path: path.resolve(__dirname, process.env.NODE_ENV === 'production' ? 'dist' : 'dev'),
|
||||
publicPath: '/',
|
||||
},
|
||||
devtool: 'source-map',
|
||||
|
Loading…
Reference in New Issue
Block a user