Open fivethreeo opened 2 years ago
transform runtime adds all polyfills, ignores target, babel-polyfills respects target
i want to use browserslist to make everything configurable via .browserslistrc envs
for node aswell as web, and per build https://github.com/jaredpalmer/razzle/blob/alpha/packages/razzle-plugin-webpack5/src/index.ts#L17
so .browserslist can have default-web and default-node and e.g. modern-web
current node is a valid target in latest browserslists
also use browserslist in webpack target
Use browserslist if the plugin finds a env for current build