element/packages/rate/cooking.conf.js

19 lines
396 B
JavaScript
Raw Normal View History

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