eslint and replace "var" with "const"

This commit is contained in:
Sergio Crisostomo 2017-09-29 09:45:50 +02:00
parent 0a0971da1d
commit 4a7f28fd64
8 changed files with 39 additions and 39 deletions

View file

@ -1,6 +1,6 @@
var path = require('path');
var webpack = require('webpack');
var entry = require('./locale');
const path = require('path');
const webpack = require('webpack');
const entry = require('./locale');
process.env.NODE_ENV = 'production';
module.exports = {
@ -12,7 +12,7 @@ module.exports = {
loader: 'babel-loader',
exclude: /node_modules/
}
],
]
},
output: {
path: path.resolve(__dirname, '../dist/locale'),
@ -29,4 +29,4 @@ module.exports = {
}
})
]
}
};