We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab6c2bb commit ed39d5fCopy full SHA for ed39d5f
2 files changed
webpack.common.js
@@ -1,5 +1,4 @@
1
const path = require('path');
2
-const TerserPlugin = require('terser-webpack-plugin');
3
4
module.exports = {
5
entry: {
webpack.prod.js
@@ -7,6 +7,6 @@ const VERSION = pkg.version;
7
module.exports = env => merge(common, {
8
mode: 'production',
9
output: {
10
- filename: `[name]${env.branch !== 'master' ? `-dev-${env.commit_hash || 'local'}` : `-${VERSION}`}.min.js`
+ filename: `[name]${env.branch !== 'master' ? `-dev-${VERSION}` : `-${VERSION}`}.min.js`
11
}
12
});
0 commit comments