The data option of sass-loader is not yet supported anymore, so no more auto-global imports. Which means that each scss file should now import seng-scss and the globals itself.
Suggestion is to move the seng-scss import into the globals file, and import that on top of each file - and add it to the templates.
Steps:
uninstall node-sass
install sass and fibers
update sass-loader to latest version (compatible with webpack 4)
remove data option in webpack config for sass-loader
add import to src/app/style/global in each file, and the template(s)
The
data
option ofsass-loader
is not yet supported anymore, so no more auto-global imports. Which means that each scss file should now importseng-scss
and theglobals
itself.Suggestion is to move the
seng-scss
import into theglobals
file, and import that on top of each file - and add it to the templates.Steps:
node-sass
sass
andfibers
sass-loader
to latest version (compatible with webpack 4)data
option in webpack config forsass-loader
src/app/style/global
in each file, and the template(s)