@rsvelte/vite-plugin-svelte-native 0.2.3 → 0.2.4
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 +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Native (N-API) bindings to the [rsvelte](https://github.com/baseballyama/rsvelte) Svelte 5 compiler, packaged for Node.js. Exposes the same `compile` / `compileModule` / `preprocess` / `hmrDiff` / `resolveId` surface as the official [`svelte/compiler`](https://svelte.dev/docs/svelte-compiler), plus a few low-overhead extras for tooling authors.
|
|
4
4
|
|
|
5
|
-
> **⚠️ Most users should not depend on this directly.** It's the engine that powers [`@rsvelte/vite-plugin-svelte`](https://github.com/baseballyama/vite-plugin-svelte
|
|
5
|
+
> **⚠️ Most users should not depend on this directly.** It's the engine that powers [`@rsvelte/vite-plugin-svelte`](https://github.com/baseballyama/rsvelte/tree/main/apps/npm/vite-plugin-svelte) — if you want to build a SvelteKit / Vite app with the Rust compiler, use that fork instead. Depend on this package if you're writing a build tool, language server, batch compiler, or any other Node.js program that needs to compile `.svelte` files at maximum speed.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsvelte/vite-plugin-svelte-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "NAPI bindings to the rsvelte compiler — used by the @rsvelte vite-plugin-svelte shim",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"index.d.ts"
|
|
29
29
|
],
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@rsvelte/vite-plugin-svelte-native-darwin-arm64": "^0.2.
|
|
32
|
-
"@rsvelte/vite-plugin-svelte-native-darwin-x64": "^0.2.
|
|
33
|
-
"@rsvelte/vite-plugin-svelte-native-linux-arm64-gnu": "^0.2.
|
|
34
|
-
"@rsvelte/vite-plugin-svelte-native-linux-x64-gnu": "^0.2.
|
|
35
|
-
"@rsvelte/vite-plugin-svelte-native-win32-x64-msvc": "^0.2.
|
|
31
|
+
"@rsvelte/vite-plugin-svelte-native-darwin-arm64": "^0.2.4",
|
|
32
|
+
"@rsvelte/vite-plugin-svelte-native-darwin-x64": "^0.2.4",
|
|
33
|
+
"@rsvelte/vite-plugin-svelte-native-linux-arm64-gnu": "^0.2.4",
|
|
34
|
+
"@rsvelte/vite-plugin-svelte-native-linux-x64-gnu": "^0.2.4",
|
|
35
|
+
"@rsvelte/vite-plugin-svelte-native-win32-x64-msvc": "^0.2.4"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|