fix eslint error in gen-single-config.js

pull/2753/head^2
xsbchen 2017-02-06 15:00:12 +08:00 committed by 杨奕
parent 1b4a0f9285
commit 4c69a540ca
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
var path = require('path'); var path = require('path');
var config = require('./config'); var config = require('./config');
module.exports = function (context, moduleName, entry) { module.exports = function(context, moduleName, entry) {
return { return {
entry: { entry: {
index: path.resolve(context, entry || 'index.js') index: path.resolve(context, entry || 'index.js')
@ -13,5 +13,5 @@ module.exports = function (context, moduleName, entry) {
extends: ['vue2'], extends: ['vue2'],
alias: config.alias, alias: config.alias,
externals: { vue: config.vue } externals: { vue: config.vue }
} };
} };