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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.0.73",
3
+ "version": "2.0.74",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
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.73";
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.alias[rendererAlias] = blockRendererTemplate.dst;
202
- nuxt.options.alias[editorAlias] = blockEditorTemplate.dst;
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] = "export const BLOCK_EDITOR_COMPONENT_MAP = {}";
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
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
3
  "description": "A component library by Rimelight Entertainment.",
4
- "version": "2.0.73",
4
+ "version": "2.0.74",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",