denoinstall和denocompile有什么区别?

如果我这样做deno --help会显示:

  • compile = 将脚本编译成一个独立的可执行文件
  • install = 将脚本安装为可执行文件

这两个命令有什么区别?

回答

命令 输出 自包含1 Deno 运行时集成2
compile 二进制
install 脚本(外壳 / .bat n n
bundle .js n


1 个自包含:= 包括本地和远程依赖项/脚本,单个文件

2集成 := 不需要单独的运行时


以上是denoinstall和denocompile有什么区别?的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>