Commit 70f2848
fix(build): add terser as explicit devDependency
vite.config.js uses `minify: 'terser'` with custom terserOptions for
drop_console / drop_debugger in production builds, but terser is only
an optional peer dep of Vite since v3. It was sitting in package-lock.json
as a transitive, which `npm ci` installed strictly but `npm install`
(now used on PR CI to tolerate Dependabot lockfile drift) would
dedupe away. Declaring it explicitly ensures it's always installed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 02a1318 commit 70f2848
2 files changed
Lines changed: 8 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments