This took me a while to track down, but the long and short of it is that the 
`apache-arrow` npm module can't be used in webpack with the 
`strictExportPresence` webpack config flag set to true.

This manifested when I tried using apache-arrow in a `create-react-app` 
application - it worked fine in the development mode, but failed when I tried 
to build the production bundle.  (Note that this was for `[email protected]` 
- in the nearly-completed `react-scripts@2`, dev mode fails, too.)

I have a [minimal reproduction of this issue 
here](https://github.com/tarekrached/apache-arrow-js-module-repro).

The following may be related:
- https://github.com/TypeStrong/ts-loader/issues/653
- https://github.com/Microsoft/TypeScript/issues/18008

[ Full content available at: https://github.com/apache/arrow/issues/2656 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to