diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-05-08 05:34:03 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-05-08 05:34:03 +0300 |
commit | 15b65b98598ebc9e105a10979affa4b25f4133ac (patch) | |
tree | 7d52fd0270d397b39ac7108ae31c07ce36735c84 /Rules | |
parent | 262dcb765f38852430805388c3dc4b20ba6d4cae (diff) |
Do not compile minified assets
Everything ending in *.min.* will be ignored and be written as is.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,9 @@ compile '/**/*.scss' do write item.identifier.without_ext + '-v' + rep.item[:version].to_s + '.css' end +# Do not compile minified assets +passthrough '/**/*.min.*' + compile '/**/*.js' do filter :erb write item.identifier.without_ext + '-v' + rep.item[:version].to_s + '.js' |