Rollup-plugin-typescript2: [Reminder]: Some hooks deprecated since Rollup v1.0.0

Created on 29 Dec 2018  ·  5Comments  ·  Source: ezolenko/rollup-plugin-typescript2

What happens and why it is wrong

https://github.com/rollup/rollup/releases/tag/v1.0.0

(!) rpt2 plugin: The ongenerate hook used by plugin rpt2 is deprecated. The generateBundle hook should be used instead.
(!) rpt2 plugin: The onwrite hook used by plugin rpt2 is deprecated. The generateBundle hook should be used instead.

Versions

  • typescript: 3.2.2
  • rollup: 1.0.0
  • rollup-plugin-typescript2: 0.18.1

Most helpful comment

In 0.19.0 now

All 5 comments

Hooks used by rollup-plugin-typescript2 have been deprecated

Same warning

seem it has been fixed on master, mind releasing a patch? @ezolenko

Yep, this is fixed in 19.0+, I'll do a release soonish

In 0.19.0 now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexsasharegan picture alexsasharegan  ·  14Comments

HelloDennis picture HelloDennis  ·  3Comments

alireza-salemian picture alireza-salemian  ·  4Comments

lijialiang picture lijialiang  ·  4Comments

yangwao picture yangwao  ·  7Comments