Skip to content

Commit b2da34f

Browse files
committed
Remove the unused global version variable
1 parent c9ae7bb commit b2da34f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

webpack.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
const webpack = require('webpack');
21
const HtmlWebpackPlugin = require('html-webpack-plugin');
32

4-
const VERSION = require('./version.js');
5-
63
module.exports = (env, argv) => ({
74
entry: {
85
index: './example/index.js',
@@ -37,7 +34,6 @@ module.exports = (env, argv) => ({
3734
template: 'example/index.html',
3835
filename: 'texture-background.html',
3936
chunks: ['textureBackground']
40-
}),
41-
new webpack.DefinePlugin({ VERSION })
37+
})
4238
]
4339
});

0 commit comments

Comments
 (0)