Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-07-07 10:47:33 +0300
committerDavid O'Regan <doregan@gitlab.com>2022-07-07 10:47:33 +0300
commitc8c0b1a8bbfebc193ea2e26ac79e3ddc3c0f8108 (patch)
tree88045641c6f51a4b8406041bc799542f146cdb83 /commands
parentd3ce55082b3df44d81eb577d89b5a66a9573d707 (diff)
Improve SVG icon handling
Diffstat (limited to 'commands')
-rw-r--r--commands/frontend.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb
index d8e662fd..7f93d113 100644
--- a/commands/frontend.rb
+++ b/commands/frontend.rb
@@ -28,17 +28,8 @@ run do |opts, args, cmd|
ERROR
end
- puts 'Creating icons.svg ...'
- root = File.expand_path('../', __dir__)
- path = 'node_modules/@gitlab/svgs/dist/icons.svg'
-
- if File.write('public/assets/images/icons.svg', File.read("#{root}/#{path}"))
- puts 'Done!'
- else
- puts 'Failed to create icons.svg!'
- end
-
puts 'Copying GitLab UI CSS sourcemaps...'
+ root = File.expand_path('../', __dir__)
gl_ui_src = 'node_modules/@gitlab/ui/dist'
gl_ui_dest = 'public/frontend/shared'