We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use @vitejs/plugin-legacy to build
build result css all inline in js
I want to extract css into a file
import { defineConfig } from 'vite' import { resolve } from 'path' import react from '@vitejs/plugin-react' import legacy from '@vitejs/plugin-legacy' export default defineConfig({ plugins: [ react(), legacy({ targets: ['defaults', 'not IE 11'], renderModernChunks: false, }), ], build: { minify: 'terser', manifest: true, cssCodeSplit: true, rollupOptions: { input: { one: resolve(__dirname, 'one/index.tsx'), tow: resolve(__dirname, 'tow/index.tsx'), }, }, }, })
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #2062
Sorry, something went wrong.
No branches or pull requests
Description
I use @vitejs/plugin-legacy to build
build result css all inline in js
I want to extract css into a file
Suggested solution
I want to extract css into a file
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: