Use webpack alias '~' for node_modules dir in SCSS
The path to the node_modules
directory should not be referenced
directly from code because this will break if the directory is hoisted.
Webpack can resolve the correct path and provides an alias.
The path to the node_modules
directory should not be referenced
directly from code because this will break if the directory is hoisted.
Webpack can resolve the correct path and provides an alias.