We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
process.env.NODE_ENV
production
1 parent f7fa338 commit 9c9feb3Copy full SHA for 9c9feb3
vite.config.ts
@@ -2,6 +2,9 @@
2
import { defineConfig } from 'vite';
3
4
export default defineConfig({
5
+ define: {
6
+ 'process.env.NODE_ENV': JSON.stringify('production'),
7
+ },
8
build: {
9
lib: {
10
entry: './src/index.ts',
0 commit comments