I’m using babel (with preset-env) for “modern” es2015+ support with node 8 LTS.My app has two entry points - babel-register-based, and another which calls the transpiled script in a dist folder. I require(“core-js/stable”) first in both. I’ve also set the following preset-env flags in my babel config useBuiltIns: “usage, corejs: 3”Is this needed in a node environment? If so, why? Been running in circles on this one
Submitted November 09, 2019 at 08:05PM by YungSparkNote
No comments:
Post a Comment