Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Use recommended noConflict method#17

Open
emaildano wants to merge 1 commit into
gopangolin:masterfrom
emaildano:patch-1
Open

Use recommended noConflict method#17
emaildano wants to merge 1 commit into
gopangolin:masterfrom
emaildano:patch-1

Conversation

@emaildano

Copy link
Copy Markdown

require('@babel/polyfill'); to require('@babel/polyfill/noConflict');

wp-polyfill.min.js?ver=7.4.4:1 @babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning.

require('@babel/polyfill'); to require('@babel/polyfill/noConflict');

> wp-polyfill.min.js?ver=7.4.4:1 @babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants