diff --git a/packages/tailwindcss-language-service/scripts/build.mjs b/packages/tailwindcss-language-service/scripts/build.mjs index 91eea326234ad0a5f01365c86658e844b4f8e946..74c9f3af9823307d1fa88ef1cc126e3b9874777b 100644 --- a/packages/tailwindcss-language-service/scripts/build.mjs +++ b/packages/tailwindcss-language-service/scripts/build.mjs @@ -30,7 +30,7 @@ build.onEnd(async (result) => { // Call the tsc command to generate the types spawnSync( 'tsc', - ['--emitDeclarationOnly', '--outFile', path.resolve(__dirname, '../dist/index.d.ts')], + ['--emitDeclarationOnly', '--outDir', path.resolve(__dirname, '../dist')], { stdio: 'inherit', }