diff --git a/.changeset/wise-trains-deny.md b/.changeset/wise-trains-deny.md new file mode 100644 index 00000000..5824a740 --- /dev/null +++ b/.changeset/wise-trains-deny.md @@ -0,0 +1,6 @@ +--- +"ws-dev-build-settings": patch +"@khanacademy/wonder-stuff-i18n": patch +--- + +Fix build script to output bin files using .js as their extension diff --git a/build-settings/rollup.config.js b/build-settings/rollup.config.js index 3b41f7d1..f9f6fcf9 100644 --- a/build-settings/rollup.config.js +++ b/build-settings/rollup.config.js @@ -225,7 +225,7 @@ const getPackageInfo = (commandLineArgs, pkgName) => { name: pkgName, format: "cjs", platform: "node", - file: `dist/bin/${binFile}`, + file: `dist/bin/${binFile.replace(/\.ts$/, ".js")}`, inputFile: `./src/bin/${binFile}`, plugins: [preserveShebangs(), rollupExecutable()], });