mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Every published manifest now states the same exports: types, the native emit where the package builds one, ESM under import and CommonJS under require, with src, types and dist in files. The nine packages that read import.meta do so in one here.ts each, with a here.cjs.ts sibling for the CommonJS emit; the stragglers on bun, esbuild, plain tsc or hand-written shims build with the runner like everything else, and the root-level .cjs shims that pointed at emits no build produces are gone, as is the vite-plugin-cjs mirror. Co-authored-by: Hanzo Dev <[email protected]>
22 lines
553 B
JSON
22 lines
553 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"composite": false,
|
|
"incremental": false,
|
|
"rootDir": "src",
|
|
"rewriteRelativeImportExtensions": true,
|
|
"sourceMap": true,
|
|
"inlineSourceMap": false,
|
|
"paths": {},
|
|
"module": "commonjs",
|
|
"moduleResolution": "bundler",
|
|
"outDir": "dist/cjs",
|
|
"declaration": true,
|
|
"declarationMap": false,
|
|
"declarationDir": "dist/cjs/.types"
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["src/**/*.test.*", "src/**/__tests__/**", "src/**/*.stories.*"]
|
|
}
|