From 8793113b65ef0ecba6becf28a163a92fb2ff79ce Mon Sep 17 00:00:00 2001 From: ordinarthur <@arthurbarre.js@gmail.com> Date: Thu, 12 Mar 2026 16:54:08 +0100 Subject: [PATCH] fix: add @babel/plugin-syntax-import-assertions for AdminJS build AdminJS requires this Babel plugin during the Astro build step. Without it, Rollup fails to process .adminjs/entry.js. Co-Authored-By: Claude Opus 4.6 --- package.json | 1 + pnpm-lock.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index b686023..8b6a48c 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "tslib": "^2.8.1" }, "devDependencies": { + "@babel/plugin-syntax-import-assertions": "^7.28.6", "@types/bcrypt": "^6.0.0", "@types/node": "^25.3.0", "prisma": "^6.19.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a5055e..1bd0606 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,6 +70,9 @@ importers: specifier: ^2.8.1 version: 2.8.1 devDependencies: + '@babel/plugin-syntax-import-assertions': + specifier: ^7.28.6 + version: 7.28.6(@babel/core@7.29.0) '@types/bcrypt': specifier: ^6.0.0 version: 6.0.0