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.
Can't resolve an absolute path of appComponents on Windows #573
Closed
Description
Issue Checklist
- You are submitting: a bug report.
Tell us about the problem
An absolute path added to appComponents in the webpack.config.js
file can't be resolved during bundling on Windows.
As a workaround, a relative path could be used, however, then the added components will be included in the bundle.js
instead of the vendor.js
file.
Example: HERE.
Output:
ERROR in ./main.ts
Module not found: Error: Can't resolve 'C:Users
chimevWorkgitandroid-extend-ngappmain-activity.android.ts' in 'C:\Users\vchimev\Work\git\android-extend-ng\app'
@ ./main.ts 5:0-83
Webpack compilation complete.
Local environment
- Platform: Windows
- Node version: 8.11.3
- NativeScript CLI version: 4.1.0
Project data
- Platform you are building the app for Android
- Repro app: https://github.com/vchimev/android-extend-ng/tree/vchimev/absolute