Commit 0f4cf27
authored
Enable node_modules fallback resolution for CSS @import, matching
the existing behavior in SCSS and LESS. Also fix getModuleNameFromPath
to return the full path for bare specifiers without a slash (e.g.
@import "bootstrap") instead of returning an empty string.
Fixes microsoft/vscode#295074
Signed-off-by: Vijay Govindarajan <vijay.govindarajan91@gmail.com>
1 parent 97ab651 commit 0f4cf27
File tree
4 files changed
+13
-2
lines changed- src
- services
- test/css
- test/linksTestFixtures/node_modules/foo
4 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
463 | 473 | | |
464 | 474 | | |
465 | 475 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments