-
In
angular.jsonfile -
Add this below
build -> options:
"stylePreprocessorOptions": {
// other options...
"includePaths": [
"./node_modules"
]
}
- Remove
~in every import
Take this warning with a grain of salt: It might be better to explicitly use the node_modules/ prefix instead, especially if more than one person is working on this project.