When I want to polyfill with core-js for older browser like this
// polyfill.js
export * from "core-js/stable";
export * from "core-js/es";
export * from "core-js/web/url";
export * from "core-js/web/url-search-params";
export * from "whatwg-fetch";
console.log("Hello polyfill");
// app.js
import * as polyfills from './polyfill'
console.log('polyfills', polyfills)
and I can not found any code of this in output javascript files
export * from "core-js/stable";
export * from "core-js/es";
export * from "core-js/web/url";
export * from "core-js/web/url-search-params";
export * from "whatwg-fetch";
🐛 bug report
When I want to polyfill with
core-js
for older browser like this🎛 Configuration (.babelrc, package.json, cli command)
.parcelrc
package.json
🤔 Expected Behavior
The polyfill will bundle into the javascript file
😯 Current Behavior
I search the VSCODE
and I can not found any code of this in output javascript files
💁 Possible Solution
None
🔦 Context
💻 Code Sample
🌍 Your Environment