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
But looks like it works only when css file import places at source code of project
It is not working when i import file from node_modules that imports css file
How can i fix that?
Example of source code:
// import css WORKSimport"./test.css";// import css-modules WORKSimportstylesfrom"./test.module.css";// import css-modules from node_modules WORKSimportsomethingStylesfrom"some-lib/something/something.module.scss";// import module from node_modules that has imports of css-modules ERRORimport{Something}from"some-lib/something";
Hi, i use example from here:
https://github.com/liady/webpack-node-externals#how-can-i-bundle-required-assets-ie-css-files-from-node_modules
But looks like it works only when css file import places at source code of project
It is not working when i import file from node_modules that imports css file
How can i fix that?
Example of source code:
Example of webpack config:
The text was updated successfully, but these errors were encountered: