Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Screen qualifiers not recognized by webpack #902

Closed
@alexZaicev

Description

@alexZaicev

ENVIRONMENT
Your ANDROID_HOME environment variable is set and points to correct directory.
√ Your adb from the Android SDK is correctly installed.
√ The Android SDK is installed.
√ A compatible Android SDK for compilation is found.
√ Javac is installed and is configured properly.
√ The Java Development Kit (JDK) is installed and is configured properly.
√ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
√ Getting NativeScript components versions information...
√ Component nativescript has 5.4.0 version and is up to date.
√ Component tns-core-modules has 5.4.0 version and is up to date.
√ Component tns-android has 5.4.0 version and is up to date.
‼ Update available for component tns-ios. Your current version is 5.3.1 and the latest available version is 5.4.0.

node --version:
v10.14.0

PACKAGE.JSON

"dependencies": {
"nativescript-appversion": "^1.4.1",
"nativescript-barcodescanner": "^3.0.0",
"nativescript-checkbox": "^3.0.3",
"nativescript-email": "^1.5.3",
"nativescript-https": "^1.0.3",
"nativescript-imagepicker": "^6.0.6",
"nativescript-iqkeyboardmanager": "^1.3.0",
"nativescript-phone": "^1.4.0",
"nativescript-plugin-firebase": "^8.3.2",
"nativescript-pulltorefresh": "^2.2.0",
"nativescript-statusbar": "^5.0.0",
"nativescript-text-justify": "^1.1.1",
"nativescript-theme-core": "^1.0.4",
"nativescript-ui-chart": "^4.0.2",
"nativescript-ui-sidedrawer": "^5.1.0",
"nativescript-zxing": "^1.5.8",
"tns-core-modules": "^5.4.0"
},
"devDependencies": {
"nativescript-dev-sass": "^1.7.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.22.0",
"tslint": "^5.12.0"
}

Describe the bug
On Windows 10 when running tns run/debug android --hmr/--bundle, it does not compile SCSS files located inside the component. It reads the color and text size values that I specified in a separate file as well as default styling of UI widgets, but it refuses to compile or load component styles.

When building without webpack, everything works as it should, and the files compiled down to CSS. I thought the problem might be in the old version of webpack, but I upgraded to the latest version, and the issue is still there

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions