mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
b9ee620108
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
18 lines
373 B
JavaScript
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',
|
|
},
|
|
})
|