element/packages/steps/cooking.conf.js

19 lines
398 B
JavaScript
Raw Normal View History

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