feat(bgm): add vite plugin and build integration test

Move the bgm vite plugin into the package so it can be tested in
isolation from the web app. Serve each package as a JSON module,
serializing its maps, and verify resolution through a real vite build
against a self-contained fixture.
This commit is contained in:
2026-08-09 19:07:14 +08:00
parent c0967ab71f
commit ba16f17d8a
11 changed files with 357 additions and 18 deletions
+1
View File
@@ -18,6 +18,7 @@
"lint": "echo \"no lint configured\""
},
"dependencies": {
"vite": "^8.2.1",
"marked": "^16.0.0",
"picomatch": "^4.0.5",
"smol-toml": "^1.4.0",