Commit 4c4824a
Drop UMD builds
React 19 ships no UMD build of its own, so the script-tag path already
only worked with React 18 and earlier. Script-tag users can pin
@tanem/react-nprogress@^6.
Removes the two UMD rollup configs, their jest configs and test scripts,
and the umd-dev/umd-prod examples. With UMD gone every remaining bundle
externalises peers and dependencies alike, so getExternal collapses to a
single predicate.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent f6fca4f commit 4c4824a
18 files changed
Lines changed: 31 additions & 455 deletions
File tree
- examples
- umd-dev
- .codesandbox
- .devcontainer
- umd-prod
- .codesandbox
- .devcontainer
- scripts/jest
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
3 | 16 | | |
4 | 17 | | |
5 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
191 | 189 | | |
192 | 190 | | |
193 | 191 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 192 | | |
210 | 193 | | |
211 | 194 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments