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,8 +1,8 @@
/**
* 公共配置
*/
var path = require('path');
var webpack = require('webpack');
const path = require('path');
const webpack = require('webpack');
function resolve (dir) {
return path.join(__dirname, '..', dir);
}