Skip to content

Commit

Permalink
enable react build
Browse files Browse the repository at this point in the history
  • Loading branch information
Salihu committed Dec 9, 2024
1 parent e09571b commit d6de99c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ nextTask("Generating component metadata", () => {
);
});

// nextTask("Wrapping components for React", async () => {
// execSync(
// `node ${path.join(__dirname, "make-react.js")} -p "${
// commanderOpts.prefix
// }"`,
// {
// stdio: "inherit",
// }
// );
// });
nextTask("Wrapping components for React", async () => {
execSync(
`node ${path.join(__dirname, "make-react.js")} -p "${
commanderOpts.prefix
}"`,
{
stdio: "inherit",
}
);
});

nextTask("Running the TypeScript compiler", () => {
execSync(`tsc --project ./tsconfig.prod.json --outdir "${npmDir}"`, {
Expand Down

0 comments on commit d6de99c

Please sign in to comment.