hash JS bundle for production
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = {
|
||||
output: {
|
||||
path: path.resolve(pkg.config.buildDir),
|
||||
publicPath: DEBUG ? "/" : "./",
|
||||
filename: "app.js"
|
||||
filename: DEBUG ? 'app.js' : 'app-[hash].js'
|
||||
},
|
||||
node: {
|
||||
fs: 'empty'
|
||||
@@ -33,4 +33,4 @@ module.exports = {
|
||||
loader: 'transform?brfs'
|
||||
}]
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user