Skip to content

Commit 51b687f

Browse files
committed
chore: include tsconfig into the bundle opts
1 parent 603492c commit 51b687f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev-packages/rollup-utils/bundleHelpers.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ export function makeBaseBundleConfig(options) {
101101
// used by all bundles
102102
const sharedBundleConfig = {
103103
input: entrypoints,
104+
// Point to the package's tsconfig.json so rolldown respects TypeScript & JSX settings
105+
tsconfig: path.resolve(process.cwd(), './tsconfig.json'),
106+
104107
output: {
105108
// a file extension will be added to this base value when we specify either a minified or non-minified build
106109
entryFileNames: outputFileBase,

0 commit comments

Comments
 (0)