LoginSignup
0
1

More than 3 years have passed since last update.

nexe Tips

Posted at

Node.jsアプリを実行ファイルにビルドするツールnexeのTips

複数のパターンのアセットをバンドルする

nexeではドキュメントに記載のとおり、以下のようにresourceに指定したファイルをバンドルできる。

nexe server.js --resource "public/**/*.html"

nextは内部でglobbyを使用しているのでglobbyで対応しているフォーマットは使える。

以下のようにすると複数パターンを指定できる

nexe server.js --resource "{config/*.json, *.jpg}"

プラットフォーム指定

targetを指定する

ドキュメントに従う

nexe server.js --target linux-x64
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1