The published npm package @a2ui/web_core@0.9.2 contains .js files with sourcemaps (.js.map) that reference original TypeScript source files, but those .ts source files are not present in the published package. This causes bundlers/build tools (like Vite or webpack) to emit warnings such as:
Sourcemap for Sourcemap for "/home/ikuma/org/46ki75/internal/node_modules/.pnpm/@a2ui+web_core@0.9.2/node_modules/@a2ui/web_core/src/v0_9/basic_catalog/index.js" points to missing source files
Sourcemap for "/home/ikuma/org/46ki75/internal/node_modules/.pnpm/@a2ui+web_core@0.9.2/node_modules/@a2ui/web_core/src/v0_9/index.js" points to missing source files
... (and so on)
Steps to reproduce
- Install
@a2ui/web_core@0.9.2 using npm.
- Build or run your project using a tool that processes sourcemaps.
- Observe warnings about missing source files referenced in sourcemaps.
Expected behavior
Either:
- All referenced source files should be included in the published package;
- OR, sourcemap generation should be omitted for files whose sources won't be distributed.
Environment
@a2ui/web_core@0.9.2
- Node.js v24.15.0
- Vite v7.3.1
The published npm package
@a2ui/web_core@0.9.2contains.jsfiles with sourcemaps (.js.map) that reference original TypeScript source files, but those.tssource files are not present in the published package. This causes bundlers/build tools (like Vite or webpack) to emit warnings such as:Steps to reproduce
@a2ui/web_core@0.9.2using npm.Expected behavior
Either:
Environment
@a2ui/web_core@0.9.2