summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-07-29 15:25:59 -0500
committerMike Greiling <mike@pixelcog.com>2019-07-29 16:44:45 -0500
commitb0ba7c72de0a864b01ec1c4be626a8a233a9009f (patch)
treed1e69300285401dead74dca35920363592760b15 /app/assets/javascripts/lib
parent7d68ac70aa111ab17cfb01e12ace7fa09fedb90b (diff)
downloadgitlab-ce-b0ba7c72de0a864b01ec1c4be626a8a233a9009f.tar.gz
Override icons.svg asset path with sprockets assetmg-update-icons-svg-import
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r--app/assets/javascripts/lib/utils/icons_path.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/icons_path.js b/app/assets/javascripts/lib/utils/icons_path.js
new file mode 100644
index 00000000000..1a1c3c8e7b3
--- /dev/null
+++ b/app/assets/javascripts/lib/utils/icons_path.js
@@ -0,0 +1,3 @@
+// any import of '@gitlab/svgs/dist/icons.svg' will be overridden with this
+// to avoid asset duplication between sprockets and webpack
+export default gon && gon.sprite_icons;