I want to write styles for components into external scss files and import them into main.scss without terrible import copypaste - so I tried to use import-glob-loader
So, I added into rules of webpack.renderer.conf
{
test: /\.sass$/,
enforce: 'pre',
use: ['vue-style-loader', 'import-glob-loader', 'css-loader', 'sass-loader?indentedSyntax']
}
..not working
{
test: /\.scss$/,
enforce: 'pre',
use: ['vue-style-loader', 'import-glob-loader', 'css-loader', 'sass-loader?indentedSyntax']
}
..not working. And imports with base path, without globs, stopped working too.
I'm new in webpack asset bundling and erlier used webpack only for js, cause of a lot of problems and sh**y webpack docs, pls help
Check this https://github.com/SimulatedGREG/electron-vue/issues/699#issuecomment-428444374