@matthesketh/utopia-compiler 0.0.3 → 0.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/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -144,7 +144,8 @@ interface CompileResult {
|
|
|
144
144
|
*
|
|
145
145
|
* // <script> block contents (user code) inlined here
|
|
146
146
|
*
|
|
147
|
-
*
|
|
147
|
+
* function __render() { ... }
|
|
148
|
+
* export default { render: __render }
|
|
148
149
|
* ```
|
|
149
150
|
*
|
|
150
151
|
* The caller (e.g. the Vite plugin) is responsible for injecting the CSS
|
package/dist/index.d.ts
CHANGED
|
@@ -144,7 +144,8 @@ interface CompileResult {
|
|
|
144
144
|
*
|
|
145
145
|
* // <script> block contents (user code) inlined here
|
|
146
146
|
*
|
|
147
|
-
*
|
|
147
|
+
* function __render() { ... }
|
|
148
|
+
* export default { render: __render }
|
|
148
149
|
* ```
|
|
149
150
|
*
|
|
150
151
|
* The caller (e.g. the Vite plugin) is responsible for injecting the CSS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matthesketh/utopia-compiler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Compiler for .utopia single-file components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@matthesketh/utopia-core": "0.0.
|
|
42
|
+
"@matthesketh/utopia-core": "0.0.4"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|