wallabyjs / ngCliWebpackSample

68 stars 48 forks source link

File to import not found or unreadable #35

Closed markgoho-EDT closed 6 years ago

markgoho-EDT commented 6 years ago

Hi, it looks like it can't read my scss partial imports. How do I make that work?

Uncaught Error: Module build failed: ​​
​​@import 'variables';​​
​​
​​      File to import not found or unreadable: variables.​​
​​      in .\src\app\portal\shared\components\document-notification-wizard\document-notification-wizard.component.scss (line 1, column 1)​​
​​at http://localhost:50030/__modules/362.js?1534867635415:1​​
​​Module build failed: ​​
​​@import 'variables';​​

I imagine it has something to do with this line in the angular.json file and the path that it's looking at

"stylePreprocessorOptions": {
  "includePaths": ["src/node_modules", "src/scss"]
},
smcenlly commented 6 years ago

Please configure your wallaby.js file to support scss include paths as per this this closed issue.