All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
NestJS compiles to CommonJS, but the package only exported ESM. Node throws ERR_PACKAGE_PATH_NOT_EXPORTED when CJS code requires an ESM-only package. Added dual ESM/CJS build with proper exports conditions. - ESM output in dist/esm/, CJS output in dist/cjs/ - package.json exports now includes import, require, and default - Bumped to 0.1.1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
212 B
JSON
10 lines
212 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node",
|
|
"outDir": "./dist/cjs"
|
|
},
|
|
"exclude": ["node_modules", "dist", "tests", "**/*.test.ts"]
|
|
}
|