Commit 4c69a540 authored by xsbchen's avatar xsbchen Committed by 杨奕

fix eslint error in gen-single-config.js

parent 1b4a0f92
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) { ...@@ -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 }
} };
} };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment