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
in sass loader, there could be some need to add includePaths to include node_modules as the prefix is not there anymore in the sass import.
Be sure that the path is well targeting the node_modules folder
{
loader: require.resolve("sass-loader"),
options: {
// Want to add more Sass options? Read more here: https://webpack.js.org/loaders/sass-loader/#options
implementation: require.resolve("sass"),
sassOptions: {
sourceMap: true,
+ includePaths: [require("path").resolve(__dirname, "../node_modules")],
},
},
},
Custom webpack config
In case you don't use the common config for webpack, you will maybe need to add fallback config for things like path or url