firescript / nativescript-contacts

A nativescript module that gives access to the native contact directory.
MIT License
28 stars 32 forks source link

Webpack build issue on Angular project #69

Closed jzgoda closed 5 years ago

jzgoda commented 5 years ago

When building an {N}+Angular project with webpack, I get the following error:

Module not found: Error: Can't resolve 'nativescript-worker-loader'

My NativeScript worker loader is configured according to the docs for the project, and workers within the project have no issues.

I was able to resolve this issue by just adding nativescript-dev-webpack as a dev dependency to this plugin.

(PR on the way)