Grunt on production?

Hello. I’m new with Roots!

I have a development server which I installed grunt and sass in order to compile the scss files.

It works perfect and the main.min.css file is generated correctly. But this project will be deployed on an external server that I don’t manage and the environment is VERY restrictive, so, no ruby, no grunt, no nodejs…Only Apache with mod_php and MySQL.

When the project is completed. Can I simply upload the main.min.css file and ignore all scss files or are also needed for production?

Which is the best practice in this situation?

Thanks a lot.

Grunt is not intended to be run with Roots on a production environment. Just deploy your files as you would normally and leave your source files out of your repo.

1 Like