jquense / react-widgets

Polished, feature rich, accessible form inputs built with React
http://jquense.github.io/react-widgets/
MIT License
2.34k stars 395 forks source link

Error finding scss files. #1138

Open jtwigg opened 1 year ago

jtwigg commented 1 year ago

When adding the line

import "react-widgets/styles.css";

to my project, I start to see these errors below linked to failing to find the scss files in the correct folder. The path lookup seems to be wrong. Those files do in fact exist in node_modules/react-widgets/scss/calendar.scss and node_modules/react-widgets/scss/src/scss/calendar.scss

Failed to parse source map from '<workspace>/node_modules/src/scss/calendar.scss' file: Error: ENOENT: no such file or directory, open '<workspace>/node_modules/src/scss/calendar.scss'

1) I do not want to turn off GENERATE SOURCE MAPS. 2) I'm running in a Lerna mono repo, could this be related?