vite/playground/css-no-codesplit/vite.config.js

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

15 lines
297 B
JavaScript
Raw Permalink Normal View History

import { resolve } from 'node:path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
cssCodeSplit: false,
rollupOptions: {
input: {
index: resolve(__dirname, './index.html'),
sub: resolve(__dirname, './sub.html'),
},
},
},
})