🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@hono/vite-build

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hono/vite-build - npm Package Compare versions

Comparing version
1.10.0
to
1.10.1
+6
-0
CHANGELOG.md
# @hono/vite-build
## 1.10.1
### Patch Changes
- [#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
## 1.10.0

@@ -4,0 +10,0 @@

+1
-0

@@ -44,2 +44,3 @@ import buildPlugin, { defaultOptions as baseDefaultOptions } from "../../base.js";

...pluginOptions,
external: ["bun", ...pluginOptions?.external ?? []],
entryContentAfterHooks: pluginOptions?.entryContentAfterHooks ?? defaultOptions.entryContentAfterHooks,

@@ -46,0 +47,0 @@ entryContentDefaultExportHook: pluginOptions?.entryContentDefaultExportHook ?? defaultOptions.entryContentDefaultExportHook

@@ -93,3 +93,7 @@ import { builtinModules } from "module";

rollupOptions: {
external: [...builtinModules, /^node:/],
external: [
...builtinModules,
/^node:/,
...options?.external ?? defaultOptions.external
],
input: virtualEntryId,

@@ -96,0 +100,0 @@ output: {

+2
-2
{
"name": "@hono/vite-build",
"description": "Vite plugin to build your Hono app",
"version": "1.10.0",
"version": "1.10.1",
"types": "dist/index.d.ts",

@@ -96,3 +96,3 @@ "module": "dist/index.js",

"devDependencies": {
"@hono/node-server": "^1.19.6",
"@hono/node-server": "^1.19.11",
"@types/node": "^24.10.0",

@@ -99,0 +99,0 @@ "glob": "^10.3.10",