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
Issue in /src/pages/tutorials/basic-modifications/enable-sass-less/index.md
Issue in injected react component, with .scss file imported and used.
The component is very simple. I've only styled a piece of text.
and the configuration that I added to webpack.config.js is:
/src/components/Redirecting/redirecting.scss (./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/sass-loader/dist/cjs.js!./src/components/Redirecting/redirecting.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
TypeError: this.getOptions is not a function
at Object.loader (/home/me/my-app-folder/node_modules/sass-loader/dist/index.js:27:24)
Note : Going to https://webpack.js.org/loaders/sass-loader/, node-sass was marked as depracted, so I used the updated library: dart sass, however, I already had tried with node-sass and saw the same error.
Using the configuration suggested in this address, nothing changed, since it's not that different either:
Issue in /src/pages/tutorials/basic-modifications/enable-sass-less/index.md
Issue in injected react component, with .scss file imported and used.
The component is very simple. I've only styled a piece of text.
and the configuration that I added to webpack.config.js is:
And the error I see in my browser console is:
Note : Going to https://webpack.js.org/loaders/sass-loader/, node-sass was marked as depracted, so I used the updated library: dart sass, however, I already had tried with node-sass and saw the same error.
Using the configuration suggested in this address, nothing changed, since it's not that different either:
The text was updated successfully, but these errors were encountered: