diff options
| author | April John <30842467+CutestNekoAqua@users.noreply.github.com> | 2023-10-07 17:36:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-07 17:36:54 +0200 |
| commit | feb1bcf46ba71b8032b433f9c9ef0ab4e910892b (patch) | |
| tree | a505700b0abd172df4ff257c8d8f429a5ba44fd5 /.github | |
| parent | Greet new contributors (#58) (diff) | |
| download | sharkey-feb1bcf46ba71b8032b433f9c9ef0ab4e910892b.tar.gz sharkey-feb1bcf46ba71b8032b433f9c9ef0ab4e910892b.tar.bz2 sharkey-feb1bcf46ba71b8032b433f9c9ef0ab4e910892b.zip | |
Use rollup node resolve
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/package.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7a8b80073e..26c41372a7 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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 |