You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
404 /node_modules/@csstools/normalize.css/normalize.css - Not Found
Importing local CSS file works OK, importing installed SCSS also works fine. The path to installed CSS does not make much difference, it fails with relative path as in provided example and with simplified import by package name ( import '@csstools/normalize.css/normalize.css';).
The text was updated successfully, but these errors were encountered:
Describe the bug
In SCSS importing CSS file from installed package results in 404.
To Reproduce
Steps to reproduce the behavior in default starter:
public/style.css
topublic/style.scss
, updatepublic/index.html
and install sass@csstools/normalize.css
public/style.scss
at the top:@import "../node_modules/@csstools/normalize.css/normalize.css";
404 ./public/node_modules/@csstools/normalize.css/normalize.css - File not found
Expected behavior
Bug occurs with:
wmr
orwmr start
(development)wmr build
(production)wmr serve
Desktop (please complete the following information):
Additional context
When built, resulting CSS asset contains following line:
This of course fails also when served:
Importing local CSS file works OK, importing installed SCSS also works fine. The path to installed CSS does not make much difference, it fails with relative path as in provided example and with simplified import by package name (
import '@csstools/normalize.css/normalize.css';
).The text was updated successfully, but these errors were encountered: