-
Notifications
You must be signed in to change notification settings - Fork 18
Having Trouble Implementing component sass stylesheets. #33
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
Comments
please post your reproducable to there for now, currently I hold the support for SCSS/postcss (having issue with extract-text-plugin in webpack 2) |
Ok, there is already one there. I will wait and see if there is a response anytime but just going to add a gulp-sass to the start of the build and use css temporarily until there is a fix. |
By the way, since it's using AoT compilation, we must compile down to |
ngtools webpack is now working. But I prefer to use postcss for now. |
Uh oh!
There was an error while loading. Please reload this page.
Having trouble implementing sass stylesheets in components when running npm build only. Getting an error where the relative directory that is being read isn't relative to the compiled destination that the "*.scss.shim.ts" is being created. It is still relating back to the main src from the dev app directory (e.g. '../../../../../app/pages/home/home.scss.shim.ts') from the compiled directory. Any help would be appreciated. Not sure if it is related to angular-webpack-starter problem or have seen one other person with the same problem on 'angular/angular#11688'.
home.component.ts
webpack.common.js example:
tsconfig-aot.json Example:
Full error Recieved:
The text was updated successfully, but these errors were encountered: