diff --git a/nativescript-core/ui/styling/style-scope.ts b/nativescript-core/ui/styling/style-scope.ts index ea4087ccd..06c0e8000 100644 --- a/nativescript-core/ui/styling/style-scope.ts +++ b/nativescript-core/ui/styling/style-scope.ts @@ -53,12 +53,12 @@ function ensureCssAnimationParserModule() { } } -let parser: "rework" | "nativescript" | "css-tree" = "rework"; +let parser: "rework" | "nativescript" | "css-tree" = "css-tree"; try { const appConfig = require("~/package.json"); if (appConfig) { - if (appConfig.cssParser === "css-tree") { - parser = "css-tree"; + if (appConfig.cssParser === "rework") { + parser = "rework"; } else if (appConfig.cssParser === "nativescript") { parser = "nativescript"; }