mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
fix eslint error in gen-single-config.js
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user