tunnckoCore / rollup-plugin-prepack

Rollup plugin for Facebook Prepack - https://prepack.io
MIT License
33 stars 2 forks source link

Invoke prepack after bundle has been generated. #9

Open vwochnik opened 7 years ago

vwochnik commented 7 years ago

This plugin invokes prepack using the transform() method. But it shouldn't be this way. It should be transformBundle() because prepack should be invoked after rollup has created the bundle.

Look here for how it's done for the uglify plugin.

tunnckoCore commented 7 years ago

yea, I was thinking that too..