kiwiirc / irc-framework

🛠️ A better IRC framework for node.js. For bots and full clients.
MIT License
182 stars 65 forks source link

Should core-js be in dev dependencies? #224

Closed xPaw closed 4 years ago

xPaw commented 4 years ago

It's needed for the browser build as it's used by babel, does it need to be in production dependencies?

Same question for regenerator-runtime, as I don't see it being used directly.

xPaw commented 4 years ago

cc @vith for insight, as you added both of these.

vith commented 4 years ago

They're both used at runtime. Their usage is injected by babel, you can only see it when looking at the build output. They provide various polyfills to enable older browser support.

xPaw commented 4 years ago

Makes sense, thanks.