Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@
"typescript": "^4.6.4"
},
"files": [
"build",
"!**/*.spec.*",
"!**/*.json",
"build/**/*.d.ts",
"build/index.js",
"build/index.mjs",
"!build/tests/**",
"CHANGELOG.md",
"LICENSE",
"README.md"
Expand Down
7 changes: 6 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ export default defineConfig({
format: ['cjs', 'esm'],
dts: false,
splitting: false,
sourcemap: true,
// Source maps are intentionally not emitted: they are not used by the test
// suite and previously shipped ~77 MB of .map files in the published package
// (see PER-15197). The published artifact is the self-contained build/index.*
// bundle only; per-file outputs below exist solely so the test suite can
// import internal modules by relative path.
sourcemap: false,
clean: true,
outDir: 'build',
target: 'node16',
Expand Down
Loading