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
When @import-ing a package (blueprintjs/core) from a CSS file, the "style" field from the package's package.json file is not used. So JS files are read and this error occurs:
The result files will be in dist. My repro does not include a webserver in the interest of keeping it simple, but just opening the app.[hash].js file in a text editor will make the error clear.
What is the expected behavior?
The "style" field in the package.json file is read and the respective CSS file is imported.
NPM version: 5.6
Node.JS version: 8.8.1
The text was updated successfully, but these errors were encountered:
What is the current behavior?
When @import-ing a package (blueprintjs/core) from a CSS file, the
"style"
field from the package's package.json file is not used. So JS files are read and this error occurs:If the current behavior is a bug, please provide the steps to reproduce.
I've uploaded a full reproduction at https://github.com/shravan2x/cssLoader-bug-styleUnrecgonized. Just do
dist
. My repro does not include a webserver in the interest of keeping it simple, but just opening the app.[hash].js file in a text editor will make the error clear.What is the expected behavior?
The "style" field in the package.json file is read and the respective CSS file is imported.
NPM version: 5.6
Node.JS version: 8.8.1
The text was updated successfully, but these errors were encountered: