Commit d202fc96 authored by Tim Zallmann's avatar Tim Zallmann

Set sp.js to be precompiled so its available in production

parent 11c73086
......@@ -170,6 +170,7 @@ module Gitlab
%w[images javascripts stylesheets].each do |path|
config.assets.paths << "#{config.root}/ee/app/assets/#{path}"
end
config.assets.precompile << "shared/snowplow/sp.js"
# Compile non-JS/CSS assets in the ee/app/assets folder by default
# Mimic sprockets-rails default: https://github.com/rails/sprockets-rails/blob/v3.2.1/lib/sprockets/railtie.rb#L84-L87
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment