Skip to content

Commit b0a93f5

Browse files
committed
Fix Docker build failure with esbuild 0.28.1
Updated Vite build target to ES2022 for compatibility with the newer esbuild version that has stricter requirements for destructuring syntax with older browser targets.
1 parent 2a9430e commit b0a93f5

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.9.16] - 2026-06-15
11+
12+
### Fixed
13+
- **Docker Build Failure** - Updated Vite build target to ES2022 for compatibility with esbuild 0.28.1
14+
1015
## [2.9.15] - 2026-06-14
1116

1217
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bookshelf",
3-
"version": "2.9.15",
3+
"version": "2.9.16",
44
"description": "Personal book library management application",
55
"private": true,
66
"type": "module",

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export default defineConfig({
1111
// Inject version as a global constant at build time
1212
__APP_VERSION__: JSON.stringify(pkg.version)
1313
},
14+
build: {
15+
target: 'es2022'
16+
},
1417
server: {
1518
port: 5173,
1619
host: true

0 commit comments

Comments
 (0)