vite-plugin-hyperapp 1.2.0 → 1.3.0
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/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Use vite as a dev-server and bundler for your hyperapp projects. Supports:
|
|
|
12
12
|
To get up and running with Hyperapp and Vite in a few seconds, use [create-vite-hyperapp](https://github.com/zaceno/create-vite-hyperapp):
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
> npm create vite-hyperapp
|
|
15
|
+
> npm create vite-hyperapp@latest
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
> Use `npm create vite-hyperapp -- --help` for some command line options.
|
package/index.js
CHANGED
|
@@ -32,10 +32,10 @@ export default function injectConsoleLog(options = {}) {
|
|
|
32
32
|
|
|
33
33
|
config: () => ({
|
|
34
34
|
esbuild: {
|
|
35
|
-
jsxFactory: "
|
|
35
|
+
jsxFactory: "jsx",
|
|
36
36
|
jsxFragment: "jsxFragment",
|
|
37
37
|
jsxInject:
|
|
38
|
-
"import {
|
|
38
|
+
"import {jsx, jsxFragment} from 'vite-plugin-hyperapp/jsx.js'",
|
|
39
39
|
},
|
|
40
40
|
}),
|
|
41
41
|
|