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
import { defineConfig } from 'vite' import { nodePolyfills } from 'vite-plugin-node-polyfills' // https://vitejs.dev/config/ export default defineConfig({ define: { "process.env.A": 1, }, plugins: [ nodePolyfills({ globals: { process: true, }, }), ], })
The text was updated successfully, but these errors were encountered:
Hey @winixt. Would you mind adding a reproducible example via Stackblitz or similar?
Sorry, something went wrong.
process
viteConfig.define
process.env.var_name
I'm closing this for now. If a reproduction of the issue is provided, I'll reopen it.
No branches or pull requests
The text was updated successfully, but these errors were encountered: