@soubiran/vite 0.2.1 → 0.3.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.
@@ -0,0 +1,5 @@
1
+ //#region src/utils.d.ts
2
+ declare function getUri(id: string): string;
3
+ declare function toUrl(hostname: string, ...paths: string[]): string;
4
+ //#endregion
5
+ export { getUri, toUrl };
@@ -0,0 +1,3 @@
1
+ import { n as toUrl, t as getUri } from "../utils-CgX7pSaU.mjs";
2
+
3
+ export { getUri, toUrl };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soubiran/vite",
3
3
  "type": "module",
4
- "version": "0.2.1",
4
+ "version": "0.3.1",
5
5
  "author": "Estéban Soubiran <esteban@soubiran.dev>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/Barbapapazes",
@@ -17,8 +17,8 @@
17
17
  "import": "./dist/vite.config.mjs"
18
18
  },
19
19
  "./utils": {
20
- "types": "./dist/utils.d.ts",
21
- "import": "./dist/utils.mjs"
20
+ "types": "./dist/src/utils.d.ts",
21
+ "import": "./dist/src/utils.mjs"
22
22
  }
23
23
  },
24
24
  "main": "dist/vite.config.mjs",
@@ -58,7 +58,7 @@
58
58
  "vite": "npm:rolldown-vite@7.1.20",
59
59
  "vite-ssg": "^28.2.2",
60
60
  "vue-router": "^4.6.3",
61
- "@soubiran/ui": "0.2.1"
61
+ "@soubiran/ui": "0.3.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "tsdown": "^0.18.3"
package/dist/utils.d.mts DELETED
@@ -1,4 +0,0 @@
1
- //#region src/utils.d.ts
2
- declare function getUri(id: string): string;
3
- //#endregion
4
- export { getUri };
package/dist/utils.mjs DELETED
@@ -1,3 +0,0 @@
1
- import { t as getUri } from "./utils-CgX7pSaU.mjs";
2
-
3
- export { getUri };