bthurlow / nativescript-imagecropper

A nativescript image cropping plugin.
Other
49 stars 35 forks source link

Webpack Compatibility #15

Closed moritzvieli closed 7 years ago

moritzvieli commented 7 years ago

This plugin does not work with webpack. The issue is described here: https://github.com/NativeScript/nativescript-dev-webpack/issues/8

-> As a workaround, we removed "use strict" and the __export in the beginning manually.

rsaf commented 7 years ago

I'm having the same error related to the nativescript-imagecropper module (version: 0.0.7), while building with webpack and aot. https://github.com/NativeScript/nativescript-dev-webpack/issues/16 When I comment out all imagecroppring code in my app, and delete the platform folder, the error goes away.

Any fix for this?

Also, in your package.json, having "main": "imagecropper.js", instead of "main": "imagecropper", is throwing a compile error.

bthurlow commented 7 years ago

Sell pull#6