-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Saving CSS files while LiveSync running uglifies file #31
Comments
Is this a file that does not have an associated The expected behavior is that the |
There isn't. Here are my packages for reference: "nativescript": {
"tns-android": {
"version": "2.5.0"
},
"tns-ios": {
"version": "2.5.0"
}
},
"dependencies": {
"lodash": "4.17.4",
"nativescript-camera": "0.0.8",
"nativescript-dialog": "0.1.0",
"nativescript-drop-down": "1.5.3",
"nativescript-effects": "0.3.0",
"nativescript-email": "1.4.0",
"nativescript-i18n": "0.1.6",
"nativescript-iqkeyboardmanager": "1.0.1",
"nativescript-loading-indicator": "2.3.2",
"nativescript-orientation": "1.6.1",
"nativescript-phone": "1.3.0",
"nativescript-platform": "1.1.0",
"nativescript-platform-css": "1.4.0",
"nativescript-plugin-firebase": "3.11.3",
"nativescript-ratings": "1.0.1",
"nativescript-videoplayer": "2.5.0",
"tns-core-modules": "2.5.2",
"tns-platform-declarations": "2.5.2"
},
"devDependencies": {
"@types/lodash": "4.14.62",
"babel-traverse": "6.24.1",
"babel-types": "6.24.1",
"babylon": "6.16.1",
"lazy": "1.0.11",
"nativescript-custom-entitlements": "0.2.0",
"nativescript-dev-sass": "1.1.0",
"nativescript-dev-typescript": "0.4.2",
"typescript": "2.2.2"
} |
I added this scenario to the demo app for testing (and future regression checks). I am able to reproduce the behavior you reported: on LiveSync, a plain CSS file is compressed/minified. Let me investigate and deploy a quick patch. |
This may be a little trickier to "solve" than I thought. I believe what we're seeing is the default behavior of the Simplest workaround is to just rename all of your existing Will keep investigating to see if there is another option for ignoring CSS that does not have a related SCSS file. |
Alright, will do |
If I save a
.css
file while I havetns run android
running, it minifies the file to one line.The text was updated successfully, but these errors were encountered: