You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install deps and run build, should output a dist/plugin.umd.js fine with no warnings
Go to rollup.config.mjs and change typescript2 to typescript (there's also some comments there btw)
Observe warnings about a util import, a broken sourcemap, and a missing global (which is, again, the rogue util)
Optionally, compare both generated bundles, should contain a util import somewhere, which is actually an import of util-deprecate:
// dist/plugin.umd.js/** * For Node.js, simply re-export the core `util.deprecate` function. */varnode=require$$0.deprecate;// ??
Expected Behavior
... albeit using rollup-plugin-typescript2, but it is just used for transpiling anyway
Actual Behavior
This is kinda blocking me from using Rollup but TBH, I don't even know which one should be the right ouput. Would really appreciate some insights here tho! 🙂 I would like to keep using rollup-plugin-ts, it fits my needs perfectly, many thanks for this plugin!
The text was updated successfully, but these errors were encountered:
tsc
(if applicable): YesReproduction
https://github.com/decanTyme/chartjs-plugin-tailwindcss-colors/tree/rollup-migrate
build
, should output adist/plugin.umd.js
fine with no warningsrollup.config.mjs
and changetypescript2
totypescript
(there's also some comments there btw)util
import, a broken sourcemap, and a missing global (which is, again, the rogueutil
)util
import somewhere, which is actually an import ofutil-deprecate
:Expected Behavior
... albeit using
rollup-plugin-typescript2
, but it is just used for transpiling anywayActual Behavior
This is kinda blocking me from using Rollup but TBH, I don't even know which one should be the right ouput. Would really appreciate some insights here tho! 🙂 I would like to keep using
rollup-plugin-ts
, it fits my needs perfectly, many thanks for this plugin!The text was updated successfully, but these errors were encountered: