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.
2 parents 0f22820 + dbef66f commit 4e94720Copy full SHA for 4e94720
package.json
@@ -9,6 +9,7 @@
9
},
10
"license": "MIT",
11
"scripts": {
12
+ "prepare": "tsc",
13
"build": "tsc"
14
15
"keywords": [
src/index.ts
@@ -39,7 +39,7 @@ function esBuildSourceMapOptions(tsConfig: TSConfig) {
39
function getBuildMetadata(userConfig: Config) {
40
const { tsConfig, tsConfigFile } = getTSConfig();
41
42
- const outDir = tsConfig.options.outDir || userConfig.outDir || "dist";
+ const outDir = userConfig.outDir || tsConfig.options.outDir || "dist";
43
44
const esbuildEntryPoints = userConfig.esbuild?.entryPoints || [];
45
const srcFiles = [...tsConfig.fileNames, ...esbuildEntryPoints];
0 commit comments