Skip to content

Commit 04d0489

Browse files
committed
Lingering var in config file
There was a lingering `var` while throughout the webpack.config.js you use es2015 syntax.
1 parent da83eb1 commit 04d0489

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const args = require('minimist')(process.argv.slice(2));
77
const allowedEnvs = ['dev', 'dist', 'test'];
88

99
// Set the correct environment
10-
var env;
10+
let env;
1111
if (args._.length > 0 && args._.indexOf('start') !== -1) {
1212
env = 'test';
1313
} else if (args.env) {

0 commit comments

Comments
 (0)