- Issue created by @yonghua
- Merge request !2Issue #3514495: ungap.url-search-params library uses CJS exports β (Open) created by yonghua
At some time, the CDN link for the URL Search Params polyfill now redirects to https://unpkg.com/@ungap/url-search-params@0.2.2/cjs/index.js . This file is a common JS module, and while it does work in the browser, the "module.exports" logs an error, min.js:376 Uncaught ReferenceError: module is not defined
This has caused some issue with other scripts not working when CSS/JS aggregation is off
1. Install this module.
2. See console error
Either self host the min.js file or use another polyfill that's browser compatible. We could use a package.json file to manage the dependency, but the first option seems the easiest
Add the min.js file
none
none
none
Active
1.1
Code