paralayer 1.0.0 → 1.0.1
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/dist/paralayer.js +1 -1
- package/package.json +1 -1
package/dist/paralayer.js
CHANGED
|
@@ -148,7 +148,7 @@ export class Paralayer extends $utils.Unit {
|
|
|
148
148
|
generateLayerContent(layer, layerPaths) {
|
|
149
149
|
const $LayerName = this.getLayerName(layer, '$Pascal');
|
|
150
150
|
const $layerName = this.getLayerName(layer, '$camel');
|
|
151
|
-
const allNames = layerPaths.flatMap(path => this.files[path]
|
|
151
|
+
const allNames = layerPaths.flatMap(path => this.files[path]?.names ?? []);
|
|
152
152
|
const imports = layerPaths
|
|
153
153
|
.map(path => {
|
|
154
154
|
const file = this.files[path];
|