This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
REACT with CRA incorrect webpack config for SCSS - loaders not working #3985
Closed
Description
Hi,
I am currently using a CRA based app that im trying to use Material components web with. I have edited my dev config to include the suggested changes to the scss loaders but still i am getting the following compile error suggesting webpack is not able to find the correct modules..
./node_modules/@material/button/mdc-button.scss)
Module build failed:
undefined
^
File to import not found or unreadable: @material/ripple/common.
in C:\Users\johnstonb\Documents\Project\cloudify\node_modules@material\button\mdc-button.scss (line 23, column 1)
My webpack.config.dev.js and package.json
https://codepen.io/ben-johnston/pen/dggJPp
Can anyone assist in the correct config to make this work?
Metadata
Metadata
Assignees
Labels
No labels