mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
19 lines
397 B
JavaScript
19 lines
397 B
JavaScript
var cooking = require('cooking');
|
|
var path = require('path');
|
|
var config = require('../../build/config');
|
|
|
|
cooking.set({
|
|
entry: {
|
|
index: path.join(__dirname, '_index.js')
|
|
},
|
|
dist: path.join(__dirname, 'lib'),
|
|
template: false,
|
|
format: 'umd',
|
|
moduleName: 'ElMenu',
|
|
extends: ['vue2'],
|
|
alias: config.alias,
|
|
externals: { vue: config.vue }
|
|
});
|
|
|
|
module.exports = cooking.resolve();
|