fix eslint error in gen-single-config.js
This commit is contained in:
parent
1b4a0f9285
commit
4c69a540ca
|
@ -1,7 +1,7 @@
|
|||
var path = require('path');
|
||||
var config = require('./config');
|
||||
|
||||
module.exports = function (context, moduleName, entry) {
|
||||
module.exports = function(context, moduleName, entry) {
|
||||
return {
|
||||
entry: {
|
||||
index: path.resolve(context, entry || 'index.js')
|
||||
|
@ -13,5 +13,5 @@ module.exports = function (context, moduleName, entry) {
|
|||
extends: ['vue2'],
|
||||
alias: config.alias,
|
||||
externals: { vue: config.vue }
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue