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
+2 -1
View File
@@ -5,5 +5,6 @@
"rootDir": "./src",
"lib": ["ES2022", "DOM"]
},
"include": ["src"]
"include": ["src"],
"exclude": ["src/__fixtures__", "src/**/*.test.ts"]
}