Import in vendor browser_polyfill.js
See original GitHub issue6to5 have a polyfill for the browser for certain features.
My request is for this plugin to import it by default or give one option to import it in vendor.
Currently I had to:
cp node_modules/ember-cli-6to5/node_modules/broccoli-6to5-transpiler/node_modules/6to5-core/browser-polyfill.js vendor
- Add to Brocfile:
app.import ('vendor/browser-polyfill.js', {type: 'vendor', prepend: true});
This is needed to keep compatibility with IE8 in certain features.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Importing into webpack #169 - mozilla/webextension-polyfill
using import browser from "../scripts/vendor/browser-polyfill"; the output of ls -l shows: 88261 background.js 43390 options.
Read more >node.js - What is the correct way to load polyfills and shims ...
Your polyfills will load correctly if you do either of the latter methods. Below you can find examples of my polyfills. polyfill.js: import...
Read more >Webpack : Code Splitting (app, vendor and polyfill builds)
js. We need to tell webpack to use this files and not to add the already imported vendors to ...
Read more >babel/polyfill
Usage in Browser ... Available from the dist/polyfill.js file within a @babel/polyfill npm release. This needs to be included before all your compiled...
Read more >@web/polyfills-loader - npm
Generate loader for loading browser polyfills based on feature detection ... legacy/app.js'); } else { // browser supports modules, import a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Isn’t this now
includePolyfil
?closing this issue as I believe @knownasilya is correct that this feature is now implemented by the
includePolyfill
option. thanks everyone!