NodeJS项目打包成可执行文件

使用pkg打包工具

npm i -g pkg

执行命令

pkg index.js

此处index.js是项目入口文件

猜你喜欢

转载自blog.csdn.net/weixin_43706224/article/details/129526141