@cmmn/tools 1.6.19 → 1.6.21

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.
@@ -110,7 +110,7 @@ export class ConfigCreator {
110
110
  if (!this.options.minify) {
111
111
  const importMaps = Object.fromEntries(this.options.external
112
112
  .map(key => key.replace('.*', '/'))
113
- .map(key => [key, `/external/${this.options.alias[key] ?? key}`]));
113
+ .map(key => [key, `/external/${this.options.alias?.[key] ?? key}`]));
114
114
  inject = `<script type="importmap" >${JSON.stringify({
115
115
  imports: importMaps
116
116
  })}</script>` + inject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmmn/tools",
3
- "version": "1.6.19",
3
+ "version": "1.6.21",
4
4
  "description": "Compilation, bundling, code generator, testing.",
5
5
  "main": "dist/rollup.config.js",
6
6
  "type": "module",
@@ -81,5 +81,5 @@
81
81
  },
82
82
  "author": "",
83
83
  "license": "ISC",
84
- "gitHead": "e12a01ab5ebaaff2c4558405d24549650d5ff2d3"
84
+ "gitHead": "5d482c4a37fd3a71d195449315ff5a710123d932"
85
85
  }