Open tgoldenberg opened 8 years ago
Looks like you (or one of the npm modules you are using) is using the convert-source-map package, which as one of its tests includes a css file with invalid syntax (a double-slash comment).
Meteor's build tool currently processes all files, even if the file isn't being used anywhere in your application,
The simplest way to avoid this is to use the cssModules ignorePaths option. I think this should do the trick:
"cssModules": {
"globalVariables": [],
"ignorePaths": [
"node_modules/convert-source-map/test"
]
}
Let me know how it goes!
So that loads the package, but my original .css
files are no longer loaded. Also, when I try to import styles from './styles'
, I get an error that the module was not found. Could this have to do with the babel
packages I am using in devDependencies
?
Followed the instructions for getting started. Not using
react-toolbox
, butmaterial-ui
instead. Here is thepackage.json
Error Message:
Full error message: