For the record my workaround has been to add `apache-arrow` to the list of 
modules that babel transpiles, but I recognize that's only feasible because I 
had to also eject from CRA for other reasons as well. Doing that allows 
`babel-plugin-transform-runtime` to replace `tslib` generators with 
`regenerator` code, so we reduce the bundle size a little bit:

```js
    webpackConfig.module.rules[0].oneOf.push({
        test: /\.(js|jsx|mjs)$/,
        loader: 'happypack/loader?id=babel',
        exclude: webpackConfig.module.noParse,
        include: [
            , paths.appSrc
            , /node_modules\/ix/
            , /graphistry\/apps/
            , /node_modules\/apache-arrow/
            , /node_modules\/symbol-observable/
        ].filter(Boolean),
    });
```

[ 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