We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d5993 commit 8e634d1Copy full SHA for 8e634d1
dev-packages/rollup-utils/npmHelpers.mjs
@@ -48,6 +48,9 @@ export function makeBaseNPMConfig(options = {}) {
48
const defaultBaseConfig = defineConfig({
49
input: entrypoints,
50
51
+ // Point to the package's tsconfig.json so rolldown respects TypeScript & JSX settings
52
+ tsconfig: path.resolve(process.cwd(), './tsconfig.json'),
53
+
54
output: {
55
// an appropriately-named directory will be added to this base value when we specify either a cjs or esm build
56
dir: hasBundles ? 'build/npm' : 'build',
0 commit comments