Commit 820d0d6
committed
fix: Add react-router-dom as external dependency and install package
- Added react-router-dom to Vite external dependencies list in vite.config.ts
- Installed react-router-dom package to resolve import errors
- Fixes build failure: 'Rollup failed to resolve import react-router-dom from use-filter-sync.ts'
The use-filter-sync.ts file imports from react-router-dom but it wasn't configured as an external dependency, causing the build to fail when trying to bundle it.1 parent 334aa26 commit 820d0d6
3 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6350 | 6350 | | |
6351 | 6351 | | |
6352 | 6352 | | |
| 6353 | + | |
6353 | 6354 | | |
6354 | 6355 | | |
6355 | 6356 | | |
| |||
9506 | 9507 | | |
9507 | 9508 | | |
9508 | 9509 | | |
9509 | | - | |
| 9510 | + | |
| 9511 | + | |
| 9512 | + | |
| 9513 | + | |
| 9514 | + | |
| 9515 | + | |
| 9516 | + | |
| 9517 | + | |
| 9518 | + | |
| 9519 | + | |
| 9520 | + | |
| 9521 | + | |
| 9522 | + | |
9510 | 9523 | | |
9511 | 9524 | | |
9512 | 9525 | | |
| |||
0 commit comments