Merge pull request #2699 from alecmerdler/fix-webpack-too-many-bundles
Fix Webpack for Local Development
This commit is contained in:
commit
544f4ed41b
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ var config = {
|
|||
entry: "./static/js/main.ts",
|
||||
output: {
|
||||
path: path.resolve(__dirname, "static/build"),
|
||||
filename: 'quay-frontend-[hash].js'
|
||||
filename: 'quay-frontend.js'
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".tsx", ".js", ".scss"],
|
||||
|
@ -64,6 +64,7 @@ if (process.env.NODE_ENV === 'production') {
|
|||
mangle: false
|
||||
})
|
||||
);
|
||||
config.output.filename = 'quay-frontend-[hash].js';
|
||||
}
|
||||
|
||||
module.exports = config;
|
||||
|
|
Reference in a new issue