Commit 738387e
RE1-T114 Fix tf is not defined error by disabling esbuild minification
- Add minify: false to vite.config.ts to prevent esbuild from renaming
React variables, which caused a naming collision where React's Component
constructor was renamed to 'tf' - the same name already used for
Symbol.for('react.portal') in React's production bundle.
- Upgrade Dockerfile Node.js from 18.x (EOL) to 20.x LTS.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 228d4f1 commit 738387e
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments