Skip to content

Commit 13c7ffc

Browse files
committed
eslint fixes
1 parent 7d1a4d4 commit 13c7ffc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

template/build/dev-server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
var path = require('path')
21
var express = require('express')
32
var webpack = require('webpack')
43
var config = require('./webpack.dev.conf')
@@ -19,7 +18,7 @@ app.use(require('webpack-dev-middleware')(compiler, {
1918
// compilation error display
2019
app.use(require('webpack-hot-middleware')(compiler))
2120

22-
app.listen(8080, 'localhost', function(err) {
21+
app.listen(8080, 'localhost', function (err) {
2322
if (err) {
2423
console.log(err)
2524
return

template/build/webpack.base.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
}
1717
},
1818
resolveLoader: {
19-
root: path.join(__dirname, 'node_modules'),
19+
root: path.join(__dirname, 'node_modules')
2020
},
2121
module: {
2222
loaders: [

0 commit comments

Comments
 (0)