vite/playground/legacy/vite.config-watch.js
Adam Koppe b9ee620108
fix(legacy): error in build with --watch and manifest enabled (#14450)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2023-11-20 09:22:29 +01:00

18 lines
373 B
JavaScript

import { resolve } from 'node:path'
import legacy from '@vitejs/plugin-legacy'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [legacy()],
build: {
manifest: true,
rollupOptions: {
input: {
'style-only-entry': resolve(__dirname, 'style-only-entry.css'),
},
},
watch: {},
outDir: 'dist/watch',
},
})