vite-plugin-inline-multipage 1.0.0 → 1.0.3
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 +3 -1
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
This is intended for svelte, I have not tested this package on other platforms.
|
|
2
|
+
This plugin will take a page structure, like in src/routes in svelte, and turn them into a inlined html file, which is great if you dont want a singular
|
|
3
|
+
html file for everything (and a hash router)
|
|
2
4
|
|
|
3
5
|
E.g with vite.config.ts
|
|
4
6
|
```
|
|
@@ -13,4 +15,4 @@ export default defineConfig({
|
|
|
13
15
|
inlineEverythingPlugin()
|
|
14
16
|
]
|
|
15
17
|
});
|
|
16
|
-
```
|
|
18
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-inline-multipage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "A Vite plugin that inlines multi-paged applications (like in svelte) to multiple html files",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
],
|
|
17
17
|
"author": "Your Name",
|
|
18
18
|
"license": "MIT",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/SpiderUnderUrBed/vite-plugin-multipage-inline.git"
|
|
22
|
+
},
|
|
19
23
|
"peerDependencies": {
|
|
20
24
|
"vite": "^6.2.6"
|
|
21
25
|
},
|