official/fite.config.js

42 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-04-13 16:34:13 +08:00
import { resolve } from 'path'
export default {
devServer: {
port: 8080,
domain: '',
https: false,
ssl: {
key: '',
cert: ''
// ca: ''
}
},
pages: {
2023-04-13 17:13:14 +08:00
index: {
entry: resolve('./src/pages/index/main.js'),
title: 'home page'
},
2023-04-20 19:11:33 +08:00
'@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'
},
2023-04-13 16:34:13 +08:00
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',
2023-04-21 11:47:37 +08:00
fetch: '//jscdn.ink/@bytedo/fetch/latest/next.js',
'@bytedo/editor': '//jscdn.ink/@bytedo/editor/latest/index.js',
'@bytedo/gzip': '//jscdn.ink/@bytedo/gzip/latest/index.js',
'@bd/core': '//jscdn.ink/@bd/core/latest/index.js'
2023-04-13 16:34:13 +08:00
}
}