From b84d2eea21e8d194ccdb4fba49d28c519766bead Mon Sep 17 00:00:00 2001 From: Jared Perreault Date: Mon, 18 Dec 2023 10:00:08 -0500 Subject: [PATCH] includes types in output bundle --- scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index 1a8179d..eede084 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -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`));