vue3-core/playground/vite.config.ts

21 lines
440 B
TypeScript
Raw Normal View History

2023-11-17 03:01:19 +08:00
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Inspect from 'vite-plugin-inspect'
2023-11-29 02:38:01 +08:00
// @ts-ignore
import * as CompilerVapor from '../packages/compiler-vapor/dist/compiler-vapor.esm-bundler.prod.js'
const vue = Vue({
isProduction: true,
template: {
compiler: CompilerVapor
}
})
2023-11-17 03:01:19 +08:00
export default defineConfig({
2023-11-17 17:35:49 +08:00
build: {
target: 'esnext'
},
2023-11-23 23:42:08 +08:00
clearScreen: false,
2023-11-29 02:38:01 +08:00
plugins: [vue, Inspect()]
2023-11-17 03:01:19 +08:00
})