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