@porotkin/vite-plugin-react-kotlinjs 1.0.3 → 1.0.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 +2 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
# Vite Plugin React KotlinJS
|
|
2
2
|
|
|
3
|
-
A Vite plugin that enables Fast Refresh support for Kotlin/JS React applications.
|
|
4
|
-
|
|
5
|
-
This plugin is inspired by the original
|
|
6
|
-
[@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main) and adapted to work with Kotlin/JS.
|
|
3
|
+
A Vite plugin that enables Fast Refresh support for Kotlin/JS React applications by post-processing generated JS files.
|
|
7
4
|
|
|
8
5
|
## Installation
|
|
9
6
|
|
|
10
7
|
Add the following dependency to your `build.gradle.kts`:
|
|
11
8
|
```kotlin
|
|
12
9
|
dependencies {
|
|
13
|
-
jsMainImplementation(devNpm("@porotkin/vite-plugin-react-kotlinjs", "^1.0.
|
|
10
|
+
jsMainImplementation(devNpm("@porotkin/vite-plugin-react-kotlinjs", "^1.0.4"))
|
|
14
11
|
}
|
|
15
12
|
```
|
|
16
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porotkin/vite-plugin-react-kotlinjs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Support React fast refresh in Kotlin/JS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Mikhail Porotkin",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"build": "tsdown"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
26
|
+
"tsdown": "^0.20.3",
|
|
27
|
+
"typescript": "^5.9.3",
|
|
28
|
+
"vite": "^7.3.1"
|
|
29
29
|
}
|
|
30
30
|
}
|