@vocab/rollup-plugin 0.1.0-rollup-plugin-20251128052110 → 0.1.0-rollup-plugin-20251128052954

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/index.cjs CHANGED
@@ -38,10 +38,6 @@ const vocabTranslations = async ({ root } = { root: (0, process.cwd)() }) => {
38
38
  if (name.endsWith("translations.json")) {
39
39
  const json = await fs_promises.default.readFile(path.default.join(vocabDir, name), "utf-8");
40
40
  const originalFileName = path.default.join(vocabDir, name);
41
- this.info(`root: ${root}`);
42
- this.info(`name: ${name}`);
43
- this.info(`vocabDir: ${vocabDir}`);
44
- this.info(`og file name: ${originalFileName}`);
45
41
  this.emitFile({
46
42
  type: "asset",
47
43
  fileName: path.default.relative(root, originalFileName),
@@ -60,7 +56,6 @@ const vocabTranslations = async ({ root } = { root: (0, process.cwd)() }) => {
60
56
  skipSelf: true,
61
57
  ...options
62
58
  });
63
- this.info(`Resolved ${id} to ${resolved?.id} from importer ${importer}`);
64
59
  if (resolved && isVocabFile(resolved.id)) {
65
60
  const vocabDir = path.default.dirname(resolved.id);
66
61
  await handleVocabTranslations.call(this, vocabDir);
@@ -70,7 +65,6 @@ const vocabTranslations = async ({ root } = { root: (0, process.cwd)() }) => {
70
65
  async renderChunk(_code, chunk, outputOptions) {
71
66
  if (!outputOptions.preserveModules) this.warn("@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled");
72
67
  const outDir = outputOptions.dir;
73
- this.info(`outdir: ${outDir}`);
74
68
  if (!outDir) this.error("Output directory not specified. Please set the `dir` option in your Rollup configuration.");
75
69
  for (const moduleId of chunk.moduleIds) if (isVocabFile(moduleId)) {
76
70
  const vocabDir = path.default.dirname(moduleId);
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["compiledVocabFileFilter","fs"],"sources":["../src/index.ts"],"sourcesContent":["import fs from 'fs/promises';\nimport path from 'path';\nimport { cwd } from 'process';\n\nimport { compiledVocabFileFilter } from '@vocab/core';\nimport type { Plugin, PluginContext } from 'rollup';\n\nconst isVocabFile = (id: string) => compiledVocabFileFilter.test(id);\n\nconst promiseMap = async <T, K>(\n items: T[],\n fn: (item: T) => Promise<K>,\n): Promise<K[]> => Promise.all(items.map(fn));\n\ntype PluginOptions = {\n /**\n * The root of the library that all paths are resolved relative to\n *\n * @default process.cwd()\n */\n root: string;\n};\n\nexport const vocabTranslations = async (\n { root }: PluginOptions = { root: cwd() },\n): Promise<Plugin> => {\n const { default: memoize } = await import('memoize');\n\n // Because this is called for every generated Vocab translation file, we don't want to emit assets\n // multiple times. The function is memoized so that it only emits assets once per `vocab` directory,\n // because the translation file can be imported from multiple places.\n const handleVocabTranslations = memoize(async function (\n this: PluginContext,\n vocabDir: string,\n // distDir: string,\n ) {\n // const distDir = toDistPath(vocabDir);\n await promiseMap(await fs.readdir(vocabDir), async (name) => {\n if (name.endsWith('translations.json')) {\n const json = await fs.readFile(path.join(vocabDir, name), 'utf-8');\n const originalFileName = path.join(vocabDir, name);\n this.info(`root: ${root}`);\n this.info(`name: ${name}`);\n this.info(`vocabDir: ${vocabDir}`);\n this.info(`og file name: ${originalFileName}`);\n\n this.emitFile({\n type: 'asset',\n // originalFileName,\n fileName: path.relative(root, originalFileName),\n source: json,\n });\n }\n });\n\n // return value is important for memoize\n return null;\n });\n\n return {\n name: 'vocab:translations-files',\n\n resolveId: {\n order: 'pre',\n async handler(id, importer, options) {\n const resolved = await this.resolve(id, importer, {\n skipSelf: true,\n ...options,\n });\n this.info(\n `Resolved ${id} to ${resolved?.id} from importer ${importer}`,\n );\n\n if (resolved && isVocabFile(resolved.id)) {\n const vocabDir = path.dirname(resolved.id);\n await handleVocabTranslations.call(this, vocabDir);\n }\n },\n },\n async renderChunk(_code, chunk, outputOptions) {\n if (!outputOptions.preserveModules) {\n this.warn(\n '@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled',\n );\n }\n const outDir = outputOptions.dir;\n this.info(`outdir: ${outDir}`);\n if (!outDir) {\n // Should never happen as rollup validates that `dir` is provided if `preserveModules` is\n // true\n this.error(\n 'Output directory not specified. Please set the `dir` option in your Rollup configuration.',\n );\n }\n\n for (const moduleId of chunk.moduleIds) {\n if (isVocabFile(moduleId)) {\n const vocabDir = path.dirname(moduleId);\n if (outDir) {\n await handleVocabTranslations.call(this, vocabDir);\n }\n }\n }\n },\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,eAAe,OAAeA,qCAAwB,KAAK,GAAG;AAEpE,MAAM,aAAa,OACjB,OACA,OACiB,QAAQ,IAAI,MAAM,IAAI,GAAG,CAAC;AAW7C,MAAa,oBAAoB,OAC/B,EAAE,SAAwB,EAAE,wBAAW,EAAE,KACrB;CACpB,MAAM,EAAE,SAAS,YAAY,MAAM,OAAO;CAK1C,MAAM,0BAA0B,QAAQ,eAEtC,UAEA;AAEA,QAAM,WAAW,MAAMC,oBAAG,QAAQ,SAAS,EAAE,OAAO,SAAS;AAC3D,OAAI,KAAK,SAAS,oBAAoB,EAAE;IACtC,MAAM,OAAO,MAAMA,oBAAG,SAAS,aAAK,KAAK,UAAU,KAAK,EAAE,QAAQ;IAClE,MAAM,mBAAmB,aAAK,KAAK,UAAU,KAAK;AAClD,SAAK,KAAK,SAAS,OAAO;AAC1B,SAAK,KAAK,SAAS,OAAO;AAC1B,SAAK,KAAK,aAAa,WAAW;AAClC,SAAK,KAAK,iBAAiB,mBAAmB;AAE9C,SAAK,SAAS;KACZ,MAAM;KAEN,UAAU,aAAK,SAAS,MAAM,iBAAiB;KAC/C,QAAQ;KACT,CAAC;;IAEJ;AAGF,SAAO;GACP;AAEF,QAAO;EACL,MAAM;EAEN,WAAW;GACT,OAAO;GACP,MAAM,QAAQ,IAAI,UAAU,SAAS;IACnC,MAAM,WAAW,MAAM,KAAK,QAAQ,IAAI,UAAU;KAChD,UAAU;KACV,GAAG;KACJ,CAAC;AACF,SAAK,KACH,YAAY,GAAG,MAAM,UAAU,GAAG,iBAAiB,WACpD;AAED,QAAI,YAAY,YAAY,SAAS,GAAG,EAAE;KACxC,MAAM,WAAW,aAAK,QAAQ,SAAS,GAAG;AAC1C,WAAM,wBAAwB,KAAK,MAAM,SAAS;;;GAGvD;EACD,MAAM,YAAY,OAAO,OAAO,eAAe;AAC7C,OAAI,CAAC,cAAc,gBACjB,MAAK,KACH,+FACD;GAEH,MAAM,SAAS,cAAc;AAC7B,QAAK,KAAK,WAAW,SAAS;AAC9B,OAAI,CAAC,OAGH,MAAK,MACH,4FACD;AAGH,QAAK,MAAM,YAAY,MAAM,UAC3B,KAAI,YAAY,SAAS,EAAE;IACzB,MAAM,WAAW,aAAK,QAAQ,SAAS;AACvC,QAAI,OACF,OAAM,wBAAwB,KAAK,MAAM,SAAS;;;EAK3D"}
1
+ {"version":3,"file":"index.cjs","names":["compiledVocabFileFilter","fs"],"sources":["../src/index.ts"],"sourcesContent":["import fs from 'fs/promises';\nimport path from 'path';\nimport { cwd } from 'process';\n\nimport { compiledVocabFileFilter } from '@vocab/core';\nimport type { Plugin, PluginContext } from 'rollup';\n\nconst isVocabFile = (id: string) => compiledVocabFileFilter.test(id);\n\nconst promiseMap = async <T, K>(\n items: T[],\n fn: (item: T) => Promise<K>,\n): Promise<K[]> => Promise.all(items.map(fn));\n\ntype PluginOptions = {\n /**\n * The root of the library that all paths are resolved relative to\n *\n * @default process.cwd()\n */\n root: string;\n};\n\nexport const vocabTranslations = async (\n { root }: PluginOptions = { root: cwd() },\n): Promise<Plugin> => {\n const { default: memoize } = await import('memoize');\n\n // Because this is called for every generated Vocab translation file, we don't want to emit assets\n // multiple times. The function is memoized so that it only emits assets once per `vocab` directory,\n // because the translation file can be imported from multiple places.\n const handleVocabTranslations = memoize(async function (\n this: PluginContext,\n vocabDir: string,\n // distDir: string,\n ) {\n // const distDir = toDistPath(vocabDir);\n await promiseMap(await fs.readdir(vocabDir), async (name) => {\n if (name.endsWith('translations.json')) {\n const json = await fs.readFile(path.join(vocabDir, name), 'utf-8');\n const originalFileName = path.join(vocabDir, name);\n\n this.emitFile({\n type: 'asset',\n // originalFileName,\n fileName: path.relative(root, originalFileName),\n source: json,\n });\n }\n });\n\n // return value is important for memoize\n return null;\n });\n\n return {\n name: 'vocab:translations-files',\n\n resolveId: {\n order: 'pre',\n async handler(id, importer, options) {\n const resolved = await this.resolve(id, importer, {\n skipSelf: true,\n ...options,\n });\n\n if (resolved && isVocabFile(resolved.id)) {\n const vocabDir = path.dirname(resolved.id);\n await handleVocabTranslations.call(this, vocabDir);\n }\n },\n },\n async renderChunk(_code, chunk, outputOptions) {\n if (!outputOptions.preserveModules) {\n this.warn(\n '@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled',\n );\n }\n const outDir = outputOptions.dir;\n if (!outDir) {\n // Should never happen as rollup validates that `dir` is provided if `preserveModules` is\n // true\n this.error(\n 'Output directory not specified. Please set the `dir` option in your Rollup configuration.',\n );\n }\n\n for (const moduleId of chunk.moduleIds) {\n if (isVocabFile(moduleId)) {\n const vocabDir = path.dirname(moduleId);\n if (outDir) {\n await handleVocabTranslations.call(this, vocabDir);\n }\n }\n }\n },\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,eAAe,OAAeA,qCAAwB,KAAK,GAAG;AAEpE,MAAM,aAAa,OACjB,OACA,OACiB,QAAQ,IAAI,MAAM,IAAI,GAAG,CAAC;AAW7C,MAAa,oBAAoB,OAC/B,EAAE,SAAwB,EAAE,wBAAW,EAAE,KACrB;CACpB,MAAM,EAAE,SAAS,YAAY,MAAM,OAAO;CAK1C,MAAM,0BAA0B,QAAQ,eAEtC,UAEA;AAEA,QAAM,WAAW,MAAMC,oBAAG,QAAQ,SAAS,EAAE,OAAO,SAAS;AAC3D,OAAI,KAAK,SAAS,oBAAoB,EAAE;IACtC,MAAM,OAAO,MAAMA,oBAAG,SAAS,aAAK,KAAK,UAAU,KAAK,EAAE,QAAQ;IAClE,MAAM,mBAAmB,aAAK,KAAK,UAAU,KAAK;AAElD,SAAK,SAAS;KACZ,MAAM;KAEN,UAAU,aAAK,SAAS,MAAM,iBAAiB;KAC/C,QAAQ;KACT,CAAC;;IAEJ;AAGF,SAAO;GACP;AAEF,QAAO;EACL,MAAM;EAEN,WAAW;GACT,OAAO;GACP,MAAM,QAAQ,IAAI,UAAU,SAAS;IACnC,MAAM,WAAW,MAAM,KAAK,QAAQ,IAAI,UAAU;KAChD,UAAU;KACV,GAAG;KACJ,CAAC;AAEF,QAAI,YAAY,YAAY,SAAS,GAAG,EAAE;KACxC,MAAM,WAAW,aAAK,QAAQ,SAAS,GAAG;AAC1C,WAAM,wBAAwB,KAAK,MAAM,SAAS;;;GAGvD;EACD,MAAM,YAAY,OAAO,OAAO,eAAe;AAC7C,OAAI,CAAC,cAAc,gBACjB,MAAK,KACH,+FACD;GAEH,MAAM,SAAS,cAAc;AAC7B,OAAI,CAAC,OAGH,MAAK,MACH,4FACD;AAGH,QAAK,MAAM,YAAY,MAAM,UAC3B,KAAI,YAAY,SAAS,EAAE;IACzB,MAAM,WAAW,aAAK,QAAQ,SAAS;AACvC,QAAI,OACF,OAAM,wBAAwB,KAAK,MAAM,SAAS;;;EAK3D"}
package/dist/index.mjs CHANGED
@@ -13,10 +13,6 @@ const vocabTranslations = async ({ root } = { root: cwd() }) => {
13
13
  if (name.endsWith("translations.json")) {
14
14
  const json = await fs.readFile(path.join(vocabDir, name), "utf-8");
15
15
  const originalFileName = path.join(vocabDir, name);
16
- this.info(`root: ${root}`);
17
- this.info(`name: ${name}`);
18
- this.info(`vocabDir: ${vocabDir}`);
19
- this.info(`og file name: ${originalFileName}`);
20
16
  this.emitFile({
21
17
  type: "asset",
22
18
  fileName: path.relative(root, originalFileName),
@@ -35,7 +31,6 @@ const vocabTranslations = async ({ root } = { root: cwd() }) => {
35
31
  skipSelf: true,
36
32
  ...options
37
33
  });
38
- this.info(`Resolved ${id} to ${resolved?.id} from importer ${importer}`);
39
34
  if (resolved && isVocabFile(resolved.id)) {
40
35
  const vocabDir = path.dirname(resolved.id);
41
36
  await handleVocabTranslations.call(this, vocabDir);
@@ -45,7 +40,6 @@ const vocabTranslations = async ({ root } = { root: cwd() }) => {
45
40
  async renderChunk(_code, chunk, outputOptions) {
46
41
  if (!outputOptions.preserveModules) this.warn("@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled");
47
42
  const outDir = outputOptions.dir;
48
- this.info(`outdir: ${outDir}`);
49
43
  if (!outDir) this.error("Output directory not specified. Please set the `dir` option in your Rollup configuration.");
50
44
  for (const moduleId of chunk.moduleIds) if (isVocabFile(moduleId)) {
51
45
  const vocabDir = path.dirname(moduleId);
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import fs from 'fs/promises';\nimport path from 'path';\nimport { cwd } from 'process';\n\nimport { compiledVocabFileFilter } from '@vocab/core';\nimport type { Plugin, PluginContext } from 'rollup';\n\nconst isVocabFile = (id: string) => compiledVocabFileFilter.test(id);\n\nconst promiseMap = async <T, K>(\n items: T[],\n fn: (item: T) => Promise<K>,\n): Promise<K[]> => Promise.all(items.map(fn));\n\ntype PluginOptions = {\n /**\n * The root of the library that all paths are resolved relative to\n *\n * @default process.cwd()\n */\n root: string;\n};\n\nexport const vocabTranslations = async (\n { root }: PluginOptions = { root: cwd() },\n): Promise<Plugin> => {\n const { default: memoize } = await import('memoize');\n\n // Because this is called for every generated Vocab translation file, we don't want to emit assets\n // multiple times. The function is memoized so that it only emits assets once per `vocab` directory,\n // because the translation file can be imported from multiple places.\n const handleVocabTranslations = memoize(async function (\n this: PluginContext,\n vocabDir: string,\n // distDir: string,\n ) {\n // const distDir = toDistPath(vocabDir);\n await promiseMap(await fs.readdir(vocabDir), async (name) => {\n if (name.endsWith('translations.json')) {\n const json = await fs.readFile(path.join(vocabDir, name), 'utf-8');\n const originalFileName = path.join(vocabDir, name);\n this.info(`root: ${root}`);\n this.info(`name: ${name}`);\n this.info(`vocabDir: ${vocabDir}`);\n this.info(`og file name: ${originalFileName}`);\n\n this.emitFile({\n type: 'asset',\n // originalFileName,\n fileName: path.relative(root, originalFileName),\n source: json,\n });\n }\n });\n\n // return value is important for memoize\n return null;\n });\n\n return {\n name: 'vocab:translations-files',\n\n resolveId: {\n order: 'pre',\n async handler(id, importer, options) {\n const resolved = await this.resolve(id, importer, {\n skipSelf: true,\n ...options,\n });\n this.info(\n `Resolved ${id} to ${resolved?.id} from importer ${importer}`,\n );\n\n if (resolved && isVocabFile(resolved.id)) {\n const vocabDir = path.dirname(resolved.id);\n await handleVocabTranslations.call(this, vocabDir);\n }\n },\n },\n async renderChunk(_code, chunk, outputOptions) {\n if (!outputOptions.preserveModules) {\n this.warn(\n '@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled',\n );\n }\n const outDir = outputOptions.dir;\n this.info(`outdir: ${outDir}`);\n if (!outDir) {\n // Should never happen as rollup validates that `dir` is provided if `preserveModules` is\n // true\n this.error(\n 'Output directory not specified. Please set the `dir` option in your Rollup configuration.',\n );\n }\n\n for (const moduleId of chunk.moduleIds) {\n if (isVocabFile(moduleId)) {\n const vocabDir = path.dirname(moduleId);\n if (outDir) {\n await handleVocabTranslations.call(this, vocabDir);\n }\n }\n }\n },\n };\n};\n"],"mappings":";;;;;;AAOA,MAAM,eAAe,OAAe,wBAAwB,KAAK,GAAG;AAEpE,MAAM,aAAa,OACjB,OACA,OACiB,QAAQ,IAAI,MAAM,IAAI,GAAG,CAAC;AAW7C,MAAa,oBAAoB,OAC/B,EAAE,SAAwB,EAAE,MAAM,KAAK,EAAE,KACrB;CACpB,MAAM,EAAE,SAAS,YAAY,MAAM,OAAO;CAK1C,MAAM,0BAA0B,QAAQ,eAEtC,UAEA;AAEA,QAAM,WAAW,MAAM,GAAG,QAAQ,SAAS,EAAE,OAAO,SAAS;AAC3D,OAAI,KAAK,SAAS,oBAAoB,EAAE;IACtC,MAAM,OAAO,MAAM,GAAG,SAAS,KAAK,KAAK,UAAU,KAAK,EAAE,QAAQ;IAClE,MAAM,mBAAmB,KAAK,KAAK,UAAU,KAAK;AAClD,SAAK,KAAK,SAAS,OAAO;AAC1B,SAAK,KAAK,SAAS,OAAO;AAC1B,SAAK,KAAK,aAAa,WAAW;AAClC,SAAK,KAAK,iBAAiB,mBAAmB;AAE9C,SAAK,SAAS;KACZ,MAAM;KAEN,UAAU,KAAK,SAAS,MAAM,iBAAiB;KAC/C,QAAQ;KACT,CAAC;;IAEJ;AAGF,SAAO;GACP;AAEF,QAAO;EACL,MAAM;EAEN,WAAW;GACT,OAAO;GACP,MAAM,QAAQ,IAAI,UAAU,SAAS;IACnC,MAAM,WAAW,MAAM,KAAK,QAAQ,IAAI,UAAU;KAChD,UAAU;KACV,GAAG;KACJ,CAAC;AACF,SAAK,KACH,YAAY,GAAG,MAAM,UAAU,GAAG,iBAAiB,WACpD;AAED,QAAI,YAAY,YAAY,SAAS,GAAG,EAAE;KACxC,MAAM,WAAW,KAAK,QAAQ,SAAS,GAAG;AAC1C,WAAM,wBAAwB,KAAK,MAAM,SAAS;;;GAGvD;EACD,MAAM,YAAY,OAAO,OAAO,eAAe;AAC7C,OAAI,CAAC,cAAc,gBACjB,MAAK,KACH,+FACD;GAEH,MAAM,SAAS,cAAc;AAC7B,QAAK,KAAK,WAAW,SAAS;AAC9B,OAAI,CAAC,OAGH,MAAK,MACH,4FACD;AAGH,QAAK,MAAM,YAAY,MAAM,UAC3B,KAAI,YAAY,SAAS,EAAE;IACzB,MAAM,WAAW,KAAK,QAAQ,SAAS;AACvC,QAAI,OACF,OAAM,wBAAwB,KAAK,MAAM,SAAS;;;EAK3D"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import fs from 'fs/promises';\nimport path from 'path';\nimport { cwd } from 'process';\n\nimport { compiledVocabFileFilter } from '@vocab/core';\nimport type { Plugin, PluginContext } from 'rollup';\n\nconst isVocabFile = (id: string) => compiledVocabFileFilter.test(id);\n\nconst promiseMap = async <T, K>(\n items: T[],\n fn: (item: T) => Promise<K>,\n): Promise<K[]> => Promise.all(items.map(fn));\n\ntype PluginOptions = {\n /**\n * The root of the library that all paths are resolved relative to\n *\n * @default process.cwd()\n */\n root: string;\n};\n\nexport const vocabTranslations = async (\n { root }: PluginOptions = { root: cwd() },\n): Promise<Plugin> => {\n const { default: memoize } = await import('memoize');\n\n // Because this is called for every generated Vocab translation file, we don't want to emit assets\n // multiple times. The function is memoized so that it only emits assets once per `vocab` directory,\n // because the translation file can be imported from multiple places.\n const handleVocabTranslations = memoize(async function (\n this: PluginContext,\n vocabDir: string,\n // distDir: string,\n ) {\n // const distDir = toDistPath(vocabDir);\n await promiseMap(await fs.readdir(vocabDir), async (name) => {\n if (name.endsWith('translations.json')) {\n const json = await fs.readFile(path.join(vocabDir, name), 'utf-8');\n const originalFileName = path.join(vocabDir, name);\n\n this.emitFile({\n type: 'asset',\n // originalFileName,\n fileName: path.relative(root, originalFileName),\n source: json,\n });\n }\n });\n\n // return value is important for memoize\n return null;\n });\n\n return {\n name: 'vocab:translations-files',\n\n resolveId: {\n order: 'pre',\n async handler(id, importer, options) {\n const resolved = await this.resolve(id, importer, {\n skipSelf: true,\n ...options,\n });\n\n if (resolved && isVocabFile(resolved.id)) {\n const vocabDir = path.dirname(resolved.id);\n await handleVocabTranslations.call(this, vocabDir);\n }\n },\n },\n async renderChunk(_code, chunk, outputOptions) {\n if (!outputOptions.preserveModules) {\n this.warn(\n '@vocab/rollup-plugin can only bundle translations.json files if `preserveModules` is enabled',\n );\n }\n const outDir = outputOptions.dir;\n if (!outDir) {\n // Should never happen as rollup validates that `dir` is provided if `preserveModules` is\n // true\n this.error(\n 'Output directory not specified. Please set the `dir` option in your Rollup configuration.',\n );\n }\n\n for (const moduleId of chunk.moduleIds) {\n if (isVocabFile(moduleId)) {\n const vocabDir = path.dirname(moduleId);\n if (outDir) {\n await handleVocabTranslations.call(this, vocabDir);\n }\n }\n }\n },\n };\n};\n"],"mappings":";;;;;;AAOA,MAAM,eAAe,OAAe,wBAAwB,KAAK,GAAG;AAEpE,MAAM,aAAa,OACjB,OACA,OACiB,QAAQ,IAAI,MAAM,IAAI,GAAG,CAAC;AAW7C,MAAa,oBAAoB,OAC/B,EAAE,SAAwB,EAAE,MAAM,KAAK,EAAE,KACrB;CACpB,MAAM,EAAE,SAAS,YAAY,MAAM,OAAO;CAK1C,MAAM,0BAA0B,QAAQ,eAEtC,UAEA;AAEA,QAAM,WAAW,MAAM,GAAG,QAAQ,SAAS,EAAE,OAAO,SAAS;AAC3D,OAAI,KAAK,SAAS,oBAAoB,EAAE;IACtC,MAAM,OAAO,MAAM,GAAG,SAAS,KAAK,KAAK,UAAU,KAAK,EAAE,QAAQ;IAClE,MAAM,mBAAmB,KAAK,KAAK,UAAU,KAAK;AAElD,SAAK,SAAS;KACZ,MAAM;KAEN,UAAU,KAAK,SAAS,MAAM,iBAAiB;KAC/C,QAAQ;KACT,CAAC;;IAEJ;AAGF,SAAO;GACP;AAEF,QAAO;EACL,MAAM;EAEN,WAAW;GACT,OAAO;GACP,MAAM,QAAQ,IAAI,UAAU,SAAS;IACnC,MAAM,WAAW,MAAM,KAAK,QAAQ,IAAI,UAAU;KAChD,UAAU;KACV,GAAG;KACJ,CAAC;AAEF,QAAI,YAAY,YAAY,SAAS,GAAG,EAAE;KACxC,MAAM,WAAW,KAAK,QAAQ,SAAS,GAAG;AAC1C,WAAM,wBAAwB,KAAK,MAAM,SAAS;;;GAGvD;EACD,MAAM,YAAY,OAAO,OAAO,eAAe;AAC7C,OAAI,CAAC,cAAc,gBACjB,MAAK,KACH,+FACD;GAEH,MAAM,SAAS,cAAc;AAC7B,OAAI,CAAC,OAGH,MAAK,MACH,4FACD;AAGH,QAAK,MAAM,YAAY,MAAM,UAC3B,KAAI,YAAY,SAAS,EAAE;IACzB,MAAM,WAAW,KAAK,QAAQ,SAAS;AACvC,QAAI,OACF,OAAM,wBAAwB,KAAK,MAAM,SAAS;;;EAK3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocab/rollup-plugin",
3
- "version": "0.1.0-rollup-plugin-20251128052110",
3
+ "version": "0.1.0-rollup-plugin-20251128052954",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seek-oss/vocab.git",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "memoize": "^10.1.0",
26
- "@vocab/core": "^1.7.0-rollup-plugin-20251128052110"
26
+ "@vocab/core": "^1.7.0-rollup-plugin-20251128052954"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "rolldown": ">=1.0.0-beta.52",