vue3-core/packages-private/vapor-e2e-test/vite.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
462 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import * as CompilerSFC from 'vue/compiler-sfc'
import { resolve } from 'node:path'
export default defineConfig({
plugins: [
Vue({
compiler: CompilerSFC,
}),
],
build: {
rollupOptions: {
input: {
interop: resolve(import.meta.dirname, 'interop/index.html'),
todomvc: resolve(import.meta.dirname, 'todomvc/index.html'),
},
},
},
})