We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.env.NODE_ENV
1 parent 8304d71 commit 9e2f595Copy full SHA for 9e2f595
packages/@tailwindcss-node/tsup.config.ts
@@ -6,23 +6,35 @@ export default defineConfig([
6
minify: true,
7
dts: true,
8
entry: ['src/index.cts'],
9
+ define: {
10
+ 'process.env.NODE_ENV': '"production"',
11
+ },
12
},
13
{
14
format: ['esm'],
15
16
17
entry: ['src/index.ts'],
18
19
20
21
22
23
24
25
26
entry: ['src/esm-cache.loader.mts'],
27
28
29
30
31
32
format: ['cjs'],
33
34
35
entry: ['src/require-cache.cts'],
36
37
38
39
40
])
0 commit comments