-
Notifications
You must be signed in to change notification settings - Fork 311
ionic run andoird/ios --prod broken by uglifyjs when processing $colors maps or White Page after build #802
Comments
I'm thinking something else might be wrong as I'm unable to replicate. |
I'm working with these:
|
I think the problem isn't just with that particular color. I'm testing with other color map and getting error related with another color code. Check this:
Console Error
[10:38:22] sass failed |
The color's map should not be that big. Try removing some of those variables if they're not being used for custom component styles |
I see! thanks. The curious thing is, I got that error in my conference app testing just with this $color map: $colors: ( |
I'm not able to reproduce any error, even with the conference app. |
Mine are: |
Restore $colors map to default seems to be solve the problem. I will keep this as short as possible. Should i close this issue? or maybe app-scripts guys should take a look into this? I think, a various white-pages after build could be related to this issues as there is nothing in docs that advise about keeping short colors map. |
it's outside the scope of app-scripts really. |
Short description of the problem:
Some how process does not recognize (#3F51B5) as a valid color.
Steps to reproduce:
ionic start testColorsMap sidemenu/blank --v2
or clone ConferenceAppgit clone https://github.com/driftyco/ionic-conference-app.git.
indigo: #3F51B5
to the $colors map in variables.scss.ionic run android --prod
.This is happening with ionic (2.1.0) and app-scripts (1.13 & 1.14)
System information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.3
ios-deploy version: 1.9.0
ios-sim version: 5.0.12
OS: macOS Sierra
Node Version: v6.9.4
Xcode version: Xcode 8.0 Build version 8A218a
The text was updated successfully, but these errors were encountered: