@hono/vite-build 1.10.0 → 1.10.1
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/CHANGELOG.md +6 -0
- package/dist/adapter/bun/index.js +1 -0
- package/dist/base.js +5 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hono/vite-build
|
|
2
2
|
|
|
3
|
+
## 1.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#349](https://github.com/honojs/vite-plugins/pull/349) [`7680ba2f76618082b3be6f94da7ef61429f08567`](https://github.com/honojs/vite-plugins/commit/7680ba2f76618082b3be6f94da7ef61429f08567) Thanks [@Moshyfawn](https://github.com/Moshyfawn)! - Propagate user externals to rollupOptions.external and auto-externalize bare "bun" specifier in Bun adapter
|
|
8
|
+
|
|
3
9
|
## 1.10.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -41,6 +41,7 @@ const bunBuildPlugin = (pluginOptions) => {
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
...pluginOptions,
|
|
44
|
+
external: ["bun", ...pluginOptions?.external ?? []],
|
|
44
45
|
entryContentAfterHooks: pluginOptions?.entryContentAfterHooks ?? defaultOptions.entryContentAfterHooks,
|
|
45
46
|
entryContentDefaultExportHook: pluginOptions?.entryContentDefaultExportHook ?? defaultOptions.entryContentDefaultExportHook
|
|
46
47
|
}),
|
package/dist/base.js
CHANGED
|
@@ -90,7 +90,11 @@ const buildPlugin = (options) => {
|
|
|
90
90
|
minify: options?.minify ?? defaultOptions.minify,
|
|
91
91
|
ssr: true,
|
|
92
92
|
rollupOptions: {
|
|
93
|
-
external: [
|
|
93
|
+
external: [
|
|
94
|
+
...builtinModules,
|
|
95
|
+
/^node:/,
|
|
96
|
+
...options?.external ?? defaultOptions.external
|
|
97
|
+
],
|
|
94
98
|
input: virtualEntryId,
|
|
95
99
|
output: {
|
|
96
100
|
entryFileNames: output
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hono/vite-build",
|
|
3
3
|
"description": "Vite plugin to build your Hono app",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"vite-plugin"
|
|
94
94
|
],
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@hono/node-server": "^1.19.
|
|
96
|
+
"@hono/node-server": "^1.19.11",
|
|
97
97
|
"@types/node": "^24.10.0",
|
|
98
98
|
"glob": "^10.3.10",
|
|
99
99
|
"hono": "^4.6.12",
|