diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-10-15 01:13:40 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-10-15 01:13:40 +0300 |
commit | 21cc1fef11349417ed515557748369cfb235fc81 (patch) | |
tree | 80d2aa5f80f77da64871987030f47e3c14492b66 /Rules | |
parent | 179a601f70c3ca693911895814b271130d68df4a (diff) |
Add support for modern JS
Added rollup to the project
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -105,7 +105,7 @@ end # Do not compile minified assets passthrough '/**/*.min.*' -compile '/**/*.js' do +compile '/assets/javascripts/*.js' do filter :erb write item.identifier.without_ext + '-v' + rep.item[:version].to_s + '.js' end @@ -147,3 +147,7 @@ layout '/**/*', :erb # Leave the favicon alone. passthrough '/favicon.ico' + +postprocess do + system('nanoc frontend') +end |