Merge branch '6544-remove-scss-diff-ce' into 'master'
Resolve difference in app/assets/stylesheets/application.scss See merge request gitlab-org/gitlab-ce!31007
This commit is contained in:
commit
865b24dabe
3 changed files with 15 additions and 0 deletions
5
app/assets/stylesheets/_ee/application_ee.scss
Normal file
5
app/assets/stylesheets/_ee/application_ee.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
This is a noop-file. In EE:
|
||||
ee/app/assets/stylesheets/_ee/application_ee.scss
|
||||
will take precedence over it and import more styles
|
||||
*/
|
|
@ -34,4 +34,8 @@
|
|||
// Styles for JS behaviors.
|
||||
@import "behaviors";
|
||||
|
||||
// EE-only stylesheets
|
||||
@import "application_ee";
|
||||
|
||||
// CSS util classes
|
||||
@import "utilities";
|
||||
|
|
|
@ -182,6 +182,12 @@ module Gitlab
|
|||
config.assets.precompile << "pages/jira_connect.css"
|
||||
end
|
||||
|
||||
# Import path for EE specific SCSS entry point
|
||||
# In CE it will import a noop file, in EE a functioning file
|
||||
# Order is important, so that the ee file takes precedence:
|
||||
config.assets.paths << "#{config.root}/ee/app/assets/stylesheets/_ee"
|
||||
config.assets.paths << "#{config.root}/app/assets/stylesheets/_ee"
|
||||
|
||||
config.assets.paths << "#{config.root}/vendor/assets/javascripts/"
|
||||
config.assets.precompile << "snowplow/sp.js"
|
||||
|
||||
|
|
Loading…
Reference in a new issue