diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-03-09 21:32:11 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-03-09 21:32:11 +0000 |
commit | b6a59ccc8f5c7a914627bd0504f879544514d72b (patch) | |
tree | 40645942e343681261be02381842452aadd239ce /config/application.rb | |
parent | 0c4c8054beb75f056e0437a26cc6478bc6ebd453 (diff) | |
download | gitlab-ce-b6a59ccc8f5c7a914627bd0504f879544514d72b.tar.gz |
Remove sync script for gitlab-svgs and reference the vendored library directly
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index ac6e4be4282..422b16a7719 100644 --- a/config/application.rb +++ b/config/application.rb @@ -117,6 +117,12 @@ module Gitlab config.assets.precompile << "test.css" config.assets.precompile << "locale/**/app.js" + # Import gitlab-svgs directly from vendored directory + config.assets.paths << "#{config.root}/node_modules/@gitlab-org/gitlab-svgs/dist" + config.assets.precompile << "icons.svg" + config.assets.precompile << "icons.json" + config.assets.precompile << "illustrations/*.svg" + # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' |