Join multiple Coffeescript files into one file? (Multiple subdirectories)

前端 未结 7 1795
臣服心动
臣服心动 2020-12-31 13:19

I\'ve got a bunch of .coffee files that I need to join into one file.

I have folders set up like a rails app:

/src/controller/log_controller.coffee
/         


        
7条回答
  •  伪装坚强ぢ
    2020-12-31 14:11

    The most easy way to use coffee command line tool.

    coffee --output public --join --compile app

    app is my working directory holding multiple subdirectories and public is where ~output.js file will be placed. Easy to automate this process if writing app in nodejs

提交回复
热议问题