workerize-loader icon indicating copy to clipboard operation
workerize-loader copied to clipboard

Add support for imported exports

Open kpdecker opened this issue 5 years ago • 0 comments

Adds support for

export * from 'module';
export { function } from 'module'

providedExports field appears to be around for all of Webpack 4. If prior webpacks are supported still, then will need a simple adapter layer.

Approached this in additive fashion to reduce the risk of this PR. I do have a stash locally that replaces the custom traversal logic glad to include that in this PR if desired. Mostly deletes the custom parser hooks.

Fixes #15

kpdecker avatar Jun 21 '20 04:06 kpdecker