備忘録

備忘録

2018-12-12から1日間の記事一覧

Node.jsで実行ファイル(.exe)を作成する方法

Ⅰ. はじめに タイトルの通り「Node.jsで実行ファイル(.exe)を作成する方法」です。 Ⅱ. やり方 1. nexe をインストールする npm i -g nexe 2. 実行する # 通常 nexe index.js # Windows で Linux 向けバイナリを吐かせる場合 nexe index.js --target linux-…