Deno에서는 deno.json의 tasks
에 들어가는 커맨드가 반드시 deno_task_shell을 통해서 실행되기 때문에 최소한의 이식성이 보장되는데 (예를 들어, Windows에서도 sh
에 가깝게 돌아간다는 게 보장됨), Node.js에서는 package.json의 scripts
에 들어가는 커맨드가 그냥 그 시스템의 기본 셸로 돌아가는 것 같다. Windows 대응을 어떻게 해야 할 지 고민이네…
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0196fbbb-fd9a-703a-9ea8-bebda05311c4 on your instance and quote it. (Note that quoting is not supported in Mastodon.)