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

Use rollup node resolve

parent 60bc2b42
No related branches found
No related tags found
No related merge requests found
......@@ -61,10 +61,11 @@ jobs:
pnpm install
npm install -g pkg
npm install -g rollup
npm install -g @rollup/plugin-node-resolve
pnpm run build
cd packages/backend
mkdir dist
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs -p @rollup/plugin-node-resolve
pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
ls
- name: Upload linux x64
......
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