bunchee 4.2.8 → 4.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +1 -1
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -805,6 +805,10 @@ async function buildInputConfig(entry, entries, pkg, options, cwd, { tsConfigPat
|
|
|
805
805
|
declarationMap: false,
|
|
806
806
|
skipLibCheck: true,
|
|
807
807
|
target: 'ESNext',
|
|
808
|
+
// Some react types required this to be false by default.
|
|
809
|
+
// Some type package like express might need this as it has other dependencies.
|
|
810
|
+
// Let users able to toggle this in tsconfig.
|
|
811
|
+
preserveSymlinks: 'preserveSymlinks' in tsCompilerOptions ? tsCompilerOptions.preserveSymlinks : false,
|
|
808
812
|
...!tsCompilerOptions.jsx ? {
|
|
809
813
|
jsx: 'react-jsx'
|
|
810
814
|
} : undefined,
|