42 lines
1022 B
JavaScript
42 lines
1022 B
JavaScript
import { resolve } from 'path'
|
|
|
|
export default {
|
|
devServer: {
|
|
port: 8080,
|
|
domain: '',
|
|
https: false,
|
|
ssl: {
|
|
key: '',
|
|
cert: ''
|
|
// ca: ''
|
|
}
|
|
},
|
|
pages: {
|
|
index: {
|
|
entry: resolve('./src/pages/index/main.js'),
|
|
title: 'home page'
|
|
},
|
|
'@wcui/index': {
|
|
entry: resolve('./src/pages/@wcui/index/main.js'),
|
|
title: 'home page'
|
|
},
|
|
'@wcui/docs': {
|
|
entry: resolve('./src/pages/@wcui/docs/main.js'),
|
|
title: 'home page'
|
|
},
|
|
playground: {
|
|
entry: resolve('./src/pages/playground/main.js'),
|
|
title: '@bd/ui Playground'
|
|
}
|
|
},
|
|
|
|
imports: {
|
|
vue: '//jscdn.ink/vue/3.2.47/vue.runtime.esm-browser.prod.js',
|
|
'vue-router': '//jscdn.ink/@bytedo/vue-router/4.1.6/vue-router.js',
|
|
fetch: '//jscdn.ink/@bytedo/fetch/2.1.5/next.js',
|
|
'@bytedo/editor': '//jscdn.ink/@bytedo/editor/1.0.0/index.js',
|
|
'@bytedo/gzip': '//jscdn.ink/@bytedo/gzip/1.0.0/index.js',
|
|
'@bd/core': '//jscdn.ink/@bd/core/1.9.0/index.js'
|
|
}
|
|
}
|