Skip to content

Commit

Permalink
includes types in output bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredperreault-okta committed Dec 18, 2023
1 parent c5dc4d9 commit b84d2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (shell.exec(BANNER_CMD).code !== 0) {
shell.exit(1);
};

shell.cp(`-Rf`, [`src`, `index.js`, `package.json`, `LICENSE`, `*.md`], `${NPM_DIR}`);
shell.cp(`-Rf`, [`src`, `types`, `index.js`, `package.json`, `LICENSE`, `*.md`], `${NPM_DIR}`);

shell.echo(`Modifying final package.json`);
const packageJSON = JSON.parse(fs.readFileSync(`./${NPM_DIR}/package.json`));
Expand Down

0 comments on commit b84d2ee

Please sign in to comment.