简体   繁体   中英

Rails Assets: Cleaning Up Assets [CSS/JS Files]

I didn't find anything here http://guides.rubyonrails.org/asset_pipeline.html about cleaning up the public/assets directory

I have tons of stylesheets/js files precompiled under public/assets

How to clean them up?

You can clean using the following command:

rake assets:clean

or you can safely delete directories inside public/assets directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM