@uni-helper/vite-plugin-uni-pages 0.2.5 → 0.2.6

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
@@ -561,9 +561,9 @@ function VitePluginUniPages(userOptions = {}) {
561
561
  return {
562
562
  code: s.toString(),
563
563
  map: s.generateMap({
564
- source: code,
564
+ source: id,
565
565
  includeContent: true,
566
- file: id
566
+ file: `${id}.map`
567
567
  })
568
568
  };
569
569
  }
package/dist/index.mjs CHANGED
@@ -546,9 +546,9 @@ function VitePluginUniPages(userOptions = {}) {
546
546
  return {
547
547
  code: s.toString(),
548
548
  map: s.generateMap({
549
- source: code,
549
+ source: id,
550
550
  includeContent: true,
551
- file: id
551
+ file: `${id}.map`
552
552
  })
553
553
  };
554
554
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uni-helper/vite-plugin-uni-pages",
3
3
  "type": "module",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
5
5
  "description": "File system based routing for uni-app applications using Vite",
6
6
  "author": "KeJun",
7
7
  "license": "MIT",