Commit 3183246
committed
π§ Fix: Bootstrap Icons Import Resolution
β
Fixed Issues:
- Resolved PostCSS error: ENOENT bootstrap-icons.css
- Fixed ~bootstrap-icons/font/ import path issue in Vite 6.3.5
- Moved Bootstrap Icons CSS import from SCSS to JavaScript
π Improvements:
- Better performance with JS-based CSS imports in Vite
- Proper tree-shaking support for Bootstrap Icons
- Eliminated SCSS import resolution conflicts
- Cleaner separation of concerns (JS handles external CSS)
π οΈ Technical Changes:
- Removed problematic SCSS @import for Bootstrap Icons
- Added import 'bootstrap-icons/font/bootstrap-icons.css' in main.js
- Maintained full icon functionality with better optimization
- Fixed Vite 6.3.5 compatibility issues
Development server now runs without PostCSS errors β
1 parent 06674c4 commit 3183246
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments