search

Home  >  Q&A  >  body text

node.js - nodejs 打包

nodejs有没有类似java的maven打包成为war的工具啊??nodejs打包之后是什么?不懂。。新手求教,都有哪些方法?

怪我咯怪我咯2779 days ago732

reply all(4)I'll reply

  • 阿神

    阿神2017-04-17 12:07:37

    For packaging and deployment, you can look at gulp or grunt. Everything you can think of can be done (compression, obfuscation, version replacement, merging...)

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 12:07:37

    To put it simply, no. You can develop a packaging tool yourself, I’m optimistic about you

    Except for some that can be published as npm packages, when express applications are generally published, package.json is retained, node_modules is removed, and then packaged and given away.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 12:07:37

    You can try webpack, it can be used on both client and server, it is very powerful!

    reply
    0
  • 黄舟

    黄舟2017-04-17 12:07:37

    Package, ... drunk, please use tar -cvf yourapp

    reply
    0
  • Cancelreply