We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core-js
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)
.parcelrc
{ "extends": [ "@parcel/config-default", "parcel-config-vue2" ], "reporters": [ "...", "parcel-reporter-static-files-copy" ] }
package.json
{ "name": "preview_renderer", "version": "1.0.0", "description": "preview renderer", "browserslist": "> 0.5%, last 10 versions, not dead, IE 10", "scripts": { "dev": "parcel --no-source-maps --no-cache --port 1234 entry/*.html", "build": "rimraf ./dist && parcel build --no-source-maps --no-cache --dist-dir dist entry/*.html", "format": "prettier **/*.js **/*.css **/*.html **/*.vue --write", "lint": "rome check **/*.js --apply-suggested" }, "author": "", "license": "ISC", "devDependencies": { "@parcel/transformer-less": "2.8.2", "@parcel/transformer-sass": "2.8.2", "@parcel/transformer-vue": "2.8.2", "buffer": "^5.5.0", "parcel": "^2.8.2", "parcel-config-vue2": "^0.1.3", "parcel-reporter-static-files-copy": "^1.4.0", "parcel-transformer-vue2": ">= 0.1.3", "prettier": "^2.8.1", "rimraf": "^3.0.2", "rome": "^11.0.0", "vue-hot-reload-api": "^2.3.4" }, "dependencies": { "classnames": "^2.3.2", "core-js": "^3.26.1", "howler": "^2.2.3", "id3-parser": "^2.0.0", "less": "^4.1.3", "normalize.css": "^8.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-use": "^17.4.0", "uint8-to-base64": "^0.2.0", "v-viewer": "^1.6.4", "video.js": "^7.20.3", "vue": "2.7.14", "whatwg-fetch": "^3.6.2" }, "targets": { "frontend": { "publicUrl": "." } } }
The polyfill will bundle into the javascript file
I search the VSCODE
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";
None
The text was updated successfully, but these errors were encountered:
Maybe related: #8282
Sorry, something went wrong.
bump
No branches or pull requests
🐛 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
The text was updated successfully, but these errors were encountered: