pkg package.json -t node14-win -o dist/win/renommez-moi-svp.exe works on both linux and windows
pkg package.json -t node14-linux dist/linux/renommez-moi-svp does not work on both linux and windows
Error! Not more than one entry file/directory is expected
pkg package.json -t node14-darwin dist/mac/renommez-moi-svp does not work on both linux and windows
Error! Not more than one entry file/directory is expected
pkg package.json -t node14-macos-x64,node14-linux-x64,node14-win-x64 dist/ does not work on both linux and windows
Error! Not more than one entry file/directory is expected
What version of pkg are you using?
5.8.1
What version of Node.js are you using?
v18.13.0 (Ubuntu) & 14.21.1 (Windows)
What operating system are you using?
Ubuntu 20.04 & Windows
What CPU architecture are you using?
Intel 64 bits (Ubuntu) & Amd ryzen 5 3550h (Windows)
What Node versions, OSs and CPU architectures are you building for?
node14-linux, node14-darwin, node14-linux-x64, node14-darwin-x64
Describe the Bug
Package.json file:
pkg package.json -t node14-win -o dist/win/renommez-moi-svp.exe
works on both linux and windowspkg package.json -t node14-linux dist/linux/renommez-moi-svp
does not work on both linux and windows Error! Not more than one entry file/directory is expectedpkg package.json -t node14-darwin dist/mac/renommez-moi-svp
does not work on both linux and windows Error! Not more than one entry file/directory is expectedpkg package.json -t node14-macos-x64,node14-linux-x64,node14-win-x64 dist/
does not work on both linux and windows Error! Not more than one entry file/directory is expectedExpected Behavior
Should build
To Reproduce
Use the package.json file