@iqual/nuxt-icms 1.5.15 → 1.5.16
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/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
diff --git a/node_modules/@blokkli/editor/dist/module.mjs b/node_modules/@blokkli/editor/dist/module.mjs
|
|
2
|
+
index 0ff0d3b..17da062 100644
|
|
3
|
+
--- a/node_modules/@blokkli/editor/dist/module.mjs
|
|
4
|
+
+++ b/node_modules/@blokkli/editor/dist/module.mjs
|
|
5
|
+
@@ -470,7 +470,19 @@ class IconCollector extends Collector {
|
|
6
|
+
this.helper.paths.srcDir,
|
|
7
|
+
"**/icon-blokkli-*.svg"
|
|
8
|
+
);
|
|
9
|
+
- const allFiles = [...filesModule, ...filesApp];
|
|
10
|
+
+ // Also scan all Nuxt layer directories for icon SVGs.
|
|
11
|
+
+ const layerFiles = [];
|
|
12
|
+
+ const layers = this.helper.nuxt.options._layers || [];
|
|
13
|
+
+ for (const layer of layers) {
|
|
14
|
+
+ if (layer.config && layer.config.srcDir && layer.config.srcDir !== this.helper.paths.srcDir) {
|
|
15
|
+
+ const files = await resolveFiles(
|
|
16
|
+
+ layer.config.srcDir,
|
|
17
|
+
+ "**/icon-blokkli-*.svg"
|
|
18
|
+
+ );
|
|
19
|
+
+ layerFiles.push(...files);
|
|
20
|
+
+ }
|
|
21
|
+
+ }
|
|
22
|
+
+ const allFiles = [...filesModule, ...filesApp, ...layerFiles];
|
|
23
|
+
await Promise.all(allFiles.map((filePath) => this.addFile(filePath)));
|
|
24
|
+
}
|
|
25
|
+
runHooks() {
|