Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stylePreprocessorOptions includePaths config in CLI is not work #612

Open
luck17291 opened this issue Apr 24, 2018 · 1 comment
Open

stylePreprocessorOptions includePaths config in CLI is not work #612

luck17291 opened this issue Apr 24, 2018 · 1 comment

Comments

@luck17291
Copy link

Hi
I am configuring stylePreprocessorOptions includePaths in CLI but it does not work
"stylePreprocessorOptions": {
"includePaths": [
"",
"environments/app1"
]
},
get error:
ERROR in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./ClientApp/app/app.component.scss
Module build failed:
@import 'variables';
^
File to import not found or unreadable: variables.
Am I missing somethings? please help me

@RZeni
Copy link
Contributor

RZeni commented Jun 3, 2018

Project now uses the updated angular-cli which changed to angular.json in place of the old angular-cli.json config. Please try this in the new config and take a look here angular/angular-cli#10473.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants