mirror of https://github.com/vuejs/core.git
21 lines
462 B
TypeScript
21 lines
462 B
TypeScript
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'),
|
|
},
|
|
},
|
|
},
|
|
})
|