
Daniel Jordan Osborn
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
I found a simple way to get this to work with webpack 4
Simply add ..
```
Simply add ..
```
{ loader: 'sass-loader', options: { "includePaths": [ path.resolve(__dirname, 'node_modules'), path.resolve(__dirname, 'src') ] } }
to you sass-loader in webpack.config.js
also if you are using parcel you can create a .sassrc.js with ...
```
const path = require('path') const CWD = process.cwd() module.exports = { "includePaths": [ path.resolve(CWD, 'node_modules'), path.resolve(CWD, 'src') ] }
```