How to minify css files with RequireJS

后端 未结 4 1236
一生所求
一生所求 2021-01-13 09:29

I have a backbone project with several js files and a couple of css files

I\'d like to have them minified to a single js and a single css

So far, I managed t

4条回答
  •  一生所求
    2021-01-13 09:39

    RequireJS can minify CSS files.

    All you need to do is use this option:

    optimizeCss: 'default'
    

提交回复
热议问题