You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
641 B
JavaScript
28 lines
641 B
JavaScript
3 years ago
|
const { resolve } = require('path')
|
||
|
import {defineConfig} from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
import styleImport from 'vite-plugin-style-import'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
server: {
|
||
|
host: 'local.zyplayer.com',
|
||
|
port: 80,
|
||
3 years ago
|
// https: true
|
||
3 years ago
|
},
|
||
|
base: '',
|
||
|
plugins: [
|
||
|
vue(),
|
||
|
],
|
||
|
build: {
|
||
|
emptyOutDir: true,
|
||
|
cssCodeSplit: false,
|
||
3 years ago
|
outDir: '../../zyplayer-doc-api/src/main/resources/dist',
|
||
3 years ago
|
rollupOptions: {
|
||
|
input: {
|
||
3 years ago
|
main: resolve(__dirname, 'doc-api.html'),
|
||
3 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|