rimelight-components 2.0.73 → 2.0.74
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/module.json +1 -1
- package/dist/module.mjs +8 -12
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.74";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -198,21 +198,17 @@ const module$1 = defineNuxtModule().with({
|
|
|
198
198
|
const blockEditorTemplate = addEditorBlockMapTemplates(editorNames);
|
|
199
199
|
const rendererAlias = "#rimelight-block-renderer-map";
|
|
200
200
|
const editorAlias = "#rimelight-block-editor-map";
|
|
201
|
-
nuxt.options.
|
|
202
|
-
nuxt.options.
|
|
201
|
+
nuxt.options.build.transpile.push(resolve("./runtime"));
|
|
202
|
+
nuxt.options.build.transpile.push("rimelight-components");
|
|
203
203
|
nuxt.hook("nitro:config", (nitroConfig) => {
|
|
204
|
+
nitroConfig.externals = nitroConfig.externals || {};
|
|
205
|
+
nitroConfig.externals.external = nitroConfig.externals.external || [];
|
|
206
|
+
nitroConfig.externals.external.push(resolve("./runtime"));
|
|
207
|
+
nitroConfig.externals.external.push("rimelight-components");
|
|
204
208
|
nitroConfig.alias = nitroConfig.alias || {};
|
|
205
209
|
nitroConfig.alias[rendererAlias] = blockRendererTemplate.dst;
|
|
206
210
|
nitroConfig.virtual = nitroConfig.virtual || {};
|
|
207
|
-
nitroConfig.virtual[editorAlias] =
|
|
208
|
-
nitroConfig.externals = nitroConfig.externals || {};
|
|
209
|
-
nitroConfig.externals.inline = nitroConfig.externals.inline || [];
|
|
210
|
-
nitroConfig.externals.inline.push(runtimePath);
|
|
211
|
-
nitroConfig.externals.inline.push("rimelight-components");
|
|
212
|
-
});
|
|
213
|
-
nuxt.hook("prepare:types", ({ references }) => {
|
|
214
|
-
references.push({ path: blockRendererTemplate.dst });
|
|
215
|
-
references.push({ path: blockEditorTemplate.dst });
|
|
211
|
+
nitroConfig.virtual[editorAlias] = blockEditorTemplate.dst;
|
|
216
212
|
});
|
|
217
213
|
}
|
|
218
214
|
});
|