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
@@ -3,4 +3,5 @@ export * from './schemas.js';
export * from './markdown.js';
export * from './parse.js';
export * from './variants.js';
export * from './collect.js';
export * from './collect.js';
export * from './vite.js';