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
Hi! I've just come across rollup-plugin-ts, and I'm liking what I'm seeing, I do have a question though, which is, how does this play with compiling a single package for both Node.js and Browsers? I currently use the rollup-plugin-typescript2 plugin, which seems to not care, but from what I can tell rollup-plugin-ts, due to supporting browserslist would maybe compile code that would work in browsers but not in node?
Would I need two different plugins? One for Node.js and one for Browsers?
Or would we just set browserslist to something like:
Question
Hi! I've just come across
rollup-plugin-ts
, and I'm liking what I'm seeing, I do have a question though, which is, how does this play with compiling a single package for both Node.js and Browsers? I currently use therollup-plugin-typescript2
plugin, which seems to not care, but from what I can tellrollup-plugin-ts
, due to supportingbrowserslist
would maybe compile code that would work in browsers but not in node?Would I need two different plugins? One for Node.js and one for Browsers?
Or would we just set
browserslist
to something like:And that would output code that's compatible with both Node.js and browsers?
The text was updated successfully, but these errors were encountered: