@micro-zoe/micro-app 0.8.7 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- const version = '0.8.7';
1
+ const version = '0.8.8';
2
2
  // do not use isUndefined
3
3
  const isBrowser = typeof window !== 'undefined';
4
4
  // do not use isUndefined
@@ -1525,7 +1525,7 @@ function extractScriptElement(script, parent, app, isDynamic = false) {
1525
1525
  if (script.hasAttribute('exclude') || checkExcludeUrl(src, app.name)) {
1526
1526
  replaceComment = document.createComment('script element with exclude attribute removed by micro-app');
1527
1527
  }
1528
- else if ((script.type && !['text/javascript', 'text/ecmascript', 'application/javascript', 'application/ecmascript', 'module'].includes(script.type)) ||
1528
+ else if ((script.type && !['text/javascript', 'text/ecmascript', 'application/javascript', 'application/ecmascript', 'module', 'systemjs-module', 'systemjs-importmap'].includes(script.type)) ||
1529
1529
  script.hasAttribute('ignore') || checkIgnoreUrl(src, app.name)) {
1530
1530
  return null;
1531
1531
  }