bun-plugin-stx 0.2.9 → 0.2.11
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 +13 -11
- package/dist/{chunk-a3qganyh.js → chunk-5npmwyts.js} +17 -18
- package/dist/chunk-c60m6z2p.js +1287 -0
- package/dist/index.js +1 -1
- package/dist/preload.js +1 -2
- package/dist/serve.d.ts +1 -0
- package/dist/serve.js +400 -151
- package/dist/watch.d.ts +2 -1
- package/package.json +28 -2
- package/dist/chunk-fj6fej0j.js +0 -12771
package/dist/watch.d.ts
CHANGED
|
@@ -34,7 +34,8 @@ export declare function createWatcher(options?: WatchOptions): WatcherInstance;
|
|
|
34
34
|
* onRebuild: (result) => {
|
|
35
35
|
* if (result.success) {
|
|
36
36
|
* console.log(`Rebuilt in ${result.duration}ms`)
|
|
37
|
-
* }
|
|
37
|
+
* }
|
|
38
|
+
else {
|
|
38
39
|
* console.error('Build failed:', result.errors)
|
|
39
40
|
* }
|
|
40
41
|
* },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-plugin-stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.11",
|
|
5
5
|
"description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,6 +47,32 @@
|
|
|
47
47
|
"import": "./dist/*"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"exports": {
|
|
52
|
+
".": {
|
|
53
|
+
"bun": "./dist/index.js",
|
|
54
|
+
"types": "./dist/index.d.ts",
|
|
55
|
+
"import": "./dist/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./client": {
|
|
58
|
+
"bun": "./dist/client.js",
|
|
59
|
+
"types": "./dist/client.d.ts",
|
|
60
|
+
"import": "./dist/client.js"
|
|
61
|
+
},
|
|
62
|
+
"./preload": {
|
|
63
|
+
"bun": "./dist/preload.js",
|
|
64
|
+
"import": "./dist/preload.js"
|
|
65
|
+
},
|
|
66
|
+
"./serve": {
|
|
67
|
+
"bun": "./dist/serve.js",
|
|
68
|
+
"import": "./dist/serve.js"
|
|
69
|
+
},
|
|
70
|
+
"./*": {
|
|
71
|
+
"bun": "./dist/*",
|
|
72
|
+
"import": "./dist/*"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
50
76
|
"module": "./dist/index.js",
|
|
51
77
|
"types": "./dist/index.d.ts",
|
|
52
78
|
"bin": {
|
|
@@ -72,6 +98,6 @@
|
|
|
72
98
|
"typecheck": "bun tsc --noEmit"
|
|
73
99
|
},
|
|
74
100
|
"dependencies": {
|
|
75
|
-
"@stacksjs/stx": "0.2.
|
|
101
|
+
"@stacksjs/stx": "0.2.11"
|
|
76
102
|
}
|
|
77
103
|
}
|