I am trying to do something like this but for my webpack.config.js but I run into an error that states: Unknown Sass implementation "sass-embedded".
I have sass-embedded installed as a module. Any sort of insight would be appreciated as to why this doesn't work or if this is even possible given that sass-embedded is in beta.
webpack.config.js:
{
loader: 'sass-loader',
options: {
sourceMap : true,
implementation: require('sass-embedded'),
sassOptions: {
fiber: false,
includePaths: [
project.paths.client('styles'),
project.paths.base('node_modules')
]
}
}
}
You can just do:
{
loader: 'sass-loader',
options: {
sourceMap : true,
implementation: require('sass-embedded'),
}
}
That improved my pipeline speed from 3min30s to 40s.