add hash
This commit is contained in:
parent
873cfbfd94
commit
eba778a070
|
@ -16,7 +16,7 @@ var commonConfig = {
|
||||||
context: path.resolve(__dirname, 'src/app'),
|
context: path.resolve(__dirname, 'src/app'),
|
||||||
// Einstiegspunkt fuer Webpack
|
// Einstiegspunkt fuer Webpack
|
||||||
entry: {
|
entry: {
|
||||||
app: './app.js'
|
mailbox: './app.js'
|
||||||
// angular: 'angular',
|
// angular: 'angular',
|
||||||
// anguboot: 'angular-ui-bootstrap',
|
// anguboot: 'angular-ui-bootstrap',
|
||||||
// angurouter: 'angular-ui-router',
|
// angurouter: 'angular-ui-router',
|
||||||
|
@ -47,7 +47,7 @@ var commonConfig = {
|
||||||
var production = extend({}, commonConfig, {
|
var production = extend({}, commonConfig, {
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, 'target/build'),
|
path: path.join(__dirname, 'target/build'),
|
||||||
filename: '[name].js'
|
filename: '[name]_[hash].js'
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new ngAnnotatePlugin({add: true}),
|
new ngAnnotatePlugin({add: true}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user