@cmmn/tools 1.4.12 → 1.4.13

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/bin.js CHANGED
File without changes
@@ -80,6 +80,7 @@ export class ConfigCreator {
80
80
  dir: this.outDir,
81
81
  sourcemap: true,
82
82
  format: module,
83
+ globals: Object.fromEntries(this.options.external.map(x => [x,x])),
83
84
  name: this.options.global ?? 'global',
84
85
  }));
85
86
  }
@@ -193,7 +194,7 @@ export class ConfigCreator {
193
194
  [this.options.name]: path.join(this.root, this.options.input)
194
195
  },
195
196
  output: this.output,
196
- external: (this.options.external || []).map(s => new RegExp(s)),
197
+ external: (this.options.external || []),
197
198
  onwarn(warning) {
198
199
  switch (warning.code){
199
200
  case 'CIRCULAR_DEPENDENCY':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmmn/tools",
3
- "version": "1.4.12",
3
+ "version": "1.4.13",
4
4
  "description": "Compilation, bundling, code generator, testing.",
5
5
  "main": "dist/rollup.config.js",
6
6
  "type": "module",
@@ -65,5 +65,5 @@
65
65
  },
66
66
  "author": "",
67
67
  "license": "ISC",
68
- "gitHead": "6d71154c76d97bf9e1a8ebd52ab3c31df797d56d"
68
+ "gitHead": "2dc32e552dd5877be0ceb18f64cb896f13f15303"
69
69
  }