Skip to content

Commit

Permalink
fix build so type libraries are published correctly (finos#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
heswell authored Jan 12, 2024
1 parent 6ed4a5b commit 2d42529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vuu-ui/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ export default async function main(customConfig) {
} = packageJson;

let files = getDefaultFilesToPublish(options);

let defaultStyle = undefined;

if (filesFromPackageJson) {
if (filesFromPackageJson || isTypeLib) {
const filesToPublish = isTypeLib
? [indexDTS]
: filesFromPackageJson.filter(
Expand Down

0 comments on commit 2d42529

Please sign in to comment.