-
Notifications
You must be signed in to change notification settings - Fork 359
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
AoT build does not compile scss #497
Comments
Hi @syron, I can't quite identify the issue here. The style provided by ngx-chips is bundled with the JS, not sure why the styles are injected that way though |
Hi, Thanks for your reply. I do not know why neither, but it's injected in scss and I have no idea how I can manage to get the scss being compiled and then injected in the aot build as css. |
I have a same problem too. |
Same issue here. |
@Gbuomprisco you're having issues right now using AOT and trying to compile scss files which the angular cli does for you. However, this issues is related to the issue over in your other thread of AOT not working... #451 there is a dependency error that is causing the failure of your build. i can tell by the "cryptic" nothing to do with the issue error you are having that was similiar to my error on my repo that I fixed by adjusting my AOT version. In fact, there are a few packages you need to adjust for this to work. extract-text-webpack-plugin is one of them. As of now I am going to fork your branch and try to adjust the packages to work with my build. if they do I will let you know and you can change them in yours. |
Currently having a problem using ngx-chips in a webpack project where the aot build does not compile scss files and seems to put the scss content into <style> tags instead of compiled css.
ngx-chips version: 1.4.6
webpack: 3.3.0
In style in aot build it looks like this:
In dev build there is no problem at all, only in AoT build.
The webpack configuration webpack.aot.js looks like this
Any idea what the problem might be?
The text was updated successfully, but these errors were encountered: