@intlify/unplugin-vue-i18n 0.12.0 → 0.12.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/README.md CHANGED
@@ -376,8 +376,6 @@ This plugin will automatically select and bundle `petite-vue-i18n` build accordi
376
376
 
377
377
  If `false` is specified, Vue I18n (vue-i18n) package.json `module` field will be used.
378
378
 
379
- **If you want to dynamically handle with locale mesages, such as fetch from back-end DB, set this option to `false`**.
380
-
381
379
  For more details, See [here](#-automatic-bundling)
382
380
 
383
381
  ### `compositionOnly`
package/lib/index.cjs CHANGED
@@ -292,7 +292,8 @@ const unplugin = unplugin$1.createUnplugin((options = {}, meta) => {
292
292
  return;
293
293
  return {
294
294
  code: generatedCode,
295
- map: sourceMap ? map : { mappings: "" }
295
+ // prettier-ignore
296
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
296
297
  // eslint-disable-line @typescript-eslint/no-explicit-any
297
298
  };
298
299
  } else {
@@ -459,7 +460,8 @@ const unplugin = unplugin$1.createUnplugin((options = {}, meta) => {
459
460
  return;
460
461
  return {
461
462
  code: generatedCode,
462
- map: sourceMap ? map : { mappings: "" }
463
+ // prettier-ignore
464
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
463
465
  // eslint-disable-line @typescript-eslint/no-explicit-any
464
466
  };
465
467
  }
@@ -508,7 +510,8 @@ const unplugin = unplugin$1.createUnplugin((options = {}, meta) => {
508
510
  return;
509
511
  return {
510
512
  code: generatedCode,
511
- map: sourceMap ? map : { mappings: "" }
513
+ // prettier-ignore
514
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
512
515
  // eslint-disable-line @typescript-eslint/no-explicit-any
513
516
  };
514
517
  }
package/lib/index.mjs CHANGED
@@ -288,7 +288,8 @@ const unplugin = createUnplugin((options = {}, meta) => {
288
288
  return;
289
289
  return {
290
290
  code: generatedCode,
291
- map: sourceMap ? map : { mappings: "" }
291
+ // prettier-ignore
292
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
292
293
  // eslint-disable-line @typescript-eslint/no-explicit-any
293
294
  };
294
295
  } else {
@@ -455,7 +456,8 @@ const unplugin = createUnplugin((options = {}, meta) => {
455
456
  return;
456
457
  return {
457
458
  code: generatedCode,
458
- map: sourceMap ? map : { mappings: "" }
459
+ // prettier-ignore
460
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
459
461
  // eslint-disable-line @typescript-eslint/no-explicit-any
460
462
  };
461
463
  }
@@ -504,7 +506,8 @@ const unplugin = createUnplugin((options = {}, meta) => {
504
506
  return;
505
507
  return {
506
508
  code: generatedCode,
507
- map: sourceMap ? map : { mappings: "" }
509
+ // prettier-ignore
510
+ map: jitCompilation ? { mappings: "" } : sourceMap ? map : { mappings: "" }
508
511
  // eslint-disable-line @typescript-eslint/no-explicit-any
509
512
  };
510
513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlify/unplugin-vue-i18n",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "unplugin for Vue I18n",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",