Skip to content
Snippets Groups Projects
Unverified Commit a6e7941e authored by April John's avatar April John Committed by GitHub
Browse files

Transpile when packaging from ESM to CJS

*insert April ranting about Javascript here*
parent cb8136c8
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,10 @@ jobs:
corepack prepare pnpm@latest --activate
pnpm install
npm install -g pkg
npm install -g rollup
pnpm run build
cd packages/backend
mkdir dist
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs
pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
ls
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment