diff --git a/compiler/packages/babel-plugin-react-compiler/package.json b/compiler/packages/babel-plugin-react-compiler/package.json index 2e7013577c9a3..3d14518b88d70 100644 --- a/compiler/packages/babel-plugin-react-compiler/package.json +++ b/compiler/packages/babel-plugin-react-compiler/package.json @@ -5,7 +5,8 @@ "main": "dist/index.js", "license": "MIT", "files": [ - "dist" + "dist", + "!*.tsbuildinfo" ], "scripts": { "build": "rimraf dist && rollup --config --bundleConfigAsCjs", diff --git a/compiler/packages/babel-plugin-react-compiler/rollup.config.js b/compiler/packages/babel-plugin-react-compiler/rollup.config.js index b5d7567846f25..77e785c4641f2 100644 --- a/compiler/packages/babel-plugin-react-compiler/rollup.config.js +++ b/compiler/packages/babel-plugin-react-compiler/rollup.config.js @@ -28,6 +28,7 @@ const DEV_ROLLUP_CONFIG = { plugins: [ typescript({ tsconfig: './tsconfig.json', + outputToFilesystem: true, compilerOptions: { noEmit: true, },