Commit a834855
authored
Fix production build: Remove hardcoded development mode from SWC config (#195)
The .swcrc file was forcing React development mode with jsxDEV transforms,
which caused 'jsxDEV is not a function' errors in production builds.
Removed the hardcoded development flag to let SWC determine mode from webpack.1 parent 5046c8b commit a834855
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments