Skip to content

Commit

Permalink
the world wants to know
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed May 30, 2023
1 parent 3b8faa6 commit e3e78d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler/types/validate-build-package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,12 @@ export const validateTypes = async (
msg += ` It's recommended to set the "types" property to: ${recommendedPath}`;
}
packageJsonError(config, compilerCtx, buildCtx, msg, `"types"`);
console.log('IS IT WINDOWS: ', IS_WINDOWS_ENV);

if (IS_WINDOWS_ENV) {
console.log('WINDOWS! WHY!');
console.log(win32.normalize(typesFile));
console.log(fs.readdir(win32.normalize('./dist/types')));
console.log(await fs.readdir(win32.normalize('./dist/types')));
}
}
}
Expand Down

0 comments on commit e3e78d8

Please sign in to comment.