- Issue created by @michaelphefner
- πΊπΈUnited States yonghua
Hi, this seems like a duplicate of https://www.drupal.org/project/smart_content_utm/issues/3514495 π ungap.url-search-params library uses CJS exports Active
When enabled the file https://unpkg.com/@ungap/url-search-params@0.2.2/min.js is throwing an error:
Uncaught ReferenceError: module is not defined
at min.js:376:1
(anonymous) @ min.js:376
It seems as though that min.js file now gets redirected to the cjs version of the module instead of using the ES module.
https://unpkg.com/@ungap/url-search-params@0.2.2/cjs/index.js
This is a breaking error preventing other scripts from loading properly, in our case it is our Wistia script E-v1.js.
Having the module enabled gives us the module error.
Include https://fast.wistia.com/assets/external/E-v1.js
Possibly using a cdn that does not redirect to https://unpkg.com/@ungap/url-search-params@0.2.2/cjs/index.js
Active
1.1
Code
Hi, this seems like a duplicate of https://www.drupal.org/project/smart_content_utm/issues/3514495 π ungap.url-search-params library uses CJS exports Active