mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-12 12:25:15 +08:00
19 lines
399 B
JavaScript
19 lines
399 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: 'ElLoading',
|
|
extends: ['vue2'],
|
|
alias: config.alias,
|
|
externals: { vue: config.vue }
|
|
});
|
|
|
|
module.exports = cooking.resolve();
|