build config

This commit is contained in:
cookfront
2017-02-26 11:55:16 +08:00
parent e9a105b76d
commit 7bfc4f4323
28 changed files with 93 additions and 94 deletions

View File

@@ -24,7 +24,8 @@ function wrap(render) {
module.exports = {
entry: {
'build-docs': './docs/index.js'
'zanui-docs': './docs/index.js',
'zanui-examples': './docs/examples.js'
},
output: {
path: './docs/build',
@@ -39,7 +40,7 @@ module.exports = {
extensions: ['.js', '.vue', '.pcss'],
alias: {
'vue$': 'vue/dist/vue.runtime.common.js',
'oxygen': path.join(__dirname, '..'),
'zanui': path.join(__dirname, '..'),
'src': path.join(__dirname, '../src'),
'packages': path.join(__dirname, '../packages')
}