Use absolute paths for SCSS imports
A recent update in [GitLab UI] and setting the [config.assets.paths] to include `node_modules` for the resolution of SCSS imports, allows us to have much nicer imports which don't rely on brittle relative paths. This change also forwards @gitlab/ui to the newest version [GitLab UI]: https://gitlab.com/gitlab-org/gitlab-ui/merge_requests/602 [config.assets.paths]: https://gitlab.com/gitlab-org/gitlab-ce/blob/d9026d0ffa0/config/application.rb#L169
Showing
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
"@babel/preset-env": "^7.4.4", | "@babel/preset-env": "^7.4.4", | ||
"@gitlab/csslab": "^1.9.0", | "@gitlab/csslab": "^1.9.0", | ||
"@gitlab/svgs": "^1.65.0", | "@gitlab/svgs": "^1.65.0", | ||
"@gitlab/ui": "^4.3.0", | "@gitlab/ui": "^5.1.0", | ||
"apollo-cache-inmemory": "^1.5.1", | "apollo-cache-inmemory": "^1.5.1", | ||
"apollo-client": "^2.5.1", | "apollo-client": "^2.5.1", | ||
"apollo-link": "^1.2.11", | "apollo-link": "^1.2.11", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment