Skip to content

Commit

Permalink
build: fix declarationDir for development builds (#6385)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jan 4, 2022
1 parent 49d2f6d commit 26512de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const createNodeConfig = (isProduction) => {
? {}
: {
declaration: true,
declarationDir: path.resolve(__dirname, 'dist/')
declarationDir: path.resolve(__dirname, 'dist/node')
})
}),
// Some deps have try...catch require of optional deps, but rollup will
Expand Down

0 comments on commit 26512de

Please sign in to comment.