element/packages/dialog/cooking.conf.js

19 lines
398 B
JavaScript
Raw Normal View History

2016-07-27 14:15:02 +08:00
var cooking = require('cooking');
var path = require('path');
2016-10-13 17:51:14 +08:00
var config = require('../../build/config');
2016-07-27 14:15:02 +08:00
cooking.set({
entry: {
index: path.join(__dirname, 'index.js')
},
dist: path.join(__dirname, 'lib'),
template: false,
format: 'umd',
moduleName: 'ElDialog',
2016-10-13 17:51:14 +08:00
extends: ['vue2'],
alias: config.alias,
externals: { vue: config.vue }
2016-07-27 14:15:02 +08:00
});
module.exports = cooking.resolve();