Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): make dev Sass build faster #1718

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Feb 1, 2019

We used Sass importer because our dev env had carbon-addons-cloud code with circular dependency back to this repository (carbon-components). However, we found that it caused significant slowdown of our Sass dev build to an unacceptable level for change-style-and-see workflow.

This change puts a copy of such carbon-addons-cloud code in this repository (as a dev-env-specific code) so we no longer need Sass importer, which yields 5x sass:dev task performance.

In future, we should migrate from that code to UI shell side nav.

Refs #1502 and #1709.

Changelog

New

  • Copy of ILN code from carbon-addons-cloud as a dev-env-specific code.

Removed

  • Sass importer dependency from our sass:dev gulp task.

Testing / Reviewing

Testing should make sure our dev env is not broken.

We used Sass importer because our dev env had `carbon-addons-cloud`
code with circular dependency back to this repository
(`carbon-components`). However, we found that it caused significant
slowdown of our Sass dev build to an unacceptable level for
change-style-and-see workflow.

This change puts a copy of such `carbon-addons-cloud` code in this
repository (as a dev-env-specific code) so we no longer need Sass
importer, which yields 5x `sass:dev` task performance.

In future, we should migrate from that code to UI shell side nav.

Refs carbon-design-system#1502 and carbon-design-system#1709.
@netlify
Copy link

netlify bot commented Feb 1, 2019

Deploy preview for the-carbon-components ready!

Built with commit caf34ed

https://deploy-preview-1718--the-carbon-components.netlify.com

@joshblack joshblack merged commit 0ccbec1 into carbon-design-system:master Feb 1, 2019
@asudoh asudoh deleted the sass-dev-build-perf branch February 1, 2019 22:23
@carbon-bot
Copy link
Contributor

🎉 This PR is included in version 9.69.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

joshblack pushed a commit to joshblack/carbon that referenced this pull request May 2, 2019
…n-system#1718)

* feat(DropdownV2): add support for dropdown title and helper text

* test(DropdownV2): add tests for title and helper text

* chore(DropdownV2): update snapshots

* fix(DropdownV2): replace `<FormItem />` wrapper with React fragment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants