Skip to content

Commit 5f658f3

Browse files
committed
[Project] Clean code
1 parent ffaf39b commit 5f658f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gulp/config/webpack-serve.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
/* ************************************* */
88
/* ******** REQUIRE ******** */
99
/* ************************************* */
10-
var fs = require('fs');
11-
var path = require('path');
12-
var configDev = require('./webpack-dev.config');
13-
var babelrcString = fs.readFileSync(path.resolve(__dirname, '../../.babelrc'));
14-
var babelrc = JSON.parse(babelrcString.toString());
10+
const fs = require('fs');
11+
const path = require('path');
12+
const configDev = require('./webpack-dev.config');
13+
const babelrcString = fs.readFileSync(path.resolve(__dirname, '../../.babelrc'));
14+
const babelrc = JSON.parse(babelrcString.toString());
1515

1616
// Update
1717
configDev.module.loaders[0].query = babelrc;

0 commit comments

Comments
 (0)