Commit 661a7f3
committed
Upgrade to latest Babel, webpack, and related packages
Upgrades:
- @babel/core and plugins: 7.14.x → 7.29.0
- webpack-dev-server: 3.11.2 → 5.2.3
- webpack-cli: 4.7.0 → 4.10.0
- webpack-merge: 5.7.3 → 6.0.1
- html-webpack-plugin: 5.3.1 → 5.6.6
- source-map-loader: 3.0.0 → 3.0.2
- Added @babel/plugin-transform-private-property-in-object to eliminate
Babel "loose" mode warnings
Also fixes electron-builder bundle to exclude all node_modules except
explicitly needed native modules (better-sqlite3, bindings,
file-uri-to-path). This reduces the app bundle from 409MB with 39,105
files down to 205MB with only 52 files.1 parent 1ec17bb commit 661a7f3
3 files changed
Lines changed: 2313 additions & 1615 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | | - | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
192 | 198 | | |
193 | 199 | | |
194 | 200 | | |
195 | | - | |
| 201 | + | |
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments