How to concatenate and minify multiple CSS and JavaScript files with Grunt.js (0.3.x)

前端 未结 5 422
半阙折子戏
半阙折子戏 2020-11-28 18:18

Note: This question is only relevant for Grunt 0.3.x and has been left for reference. For help with the latest Grunt 1.x release please see my comment below this questio

5条回答
  •  旧巷少年郎
    2020-11-28 18:48

    I think may be more automatic, grunt task usemin take care to do all this jobs for you, only need some configuration:

    https://stackoverflow.com/a/33481683/1897196

提交回复
热议问题