Roots Discourse

Remove Theme Source Files on Deploy


Originally published at:

Avoid exposing your theme source files on the web by removing them during your Trellis deployments. In most scenarios, you probably don’t want someone digging into the .scss and .js files you used to build your theme. We can tell Trellis to remove the source folder for your asset builds by using the hooks in…