-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: update MDC to latest canary and simplify bazel setup #23235
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
Conversation
13a6a7b to
b2a8048
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
mmalerba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b2a8048 to
70bd7e2
Compare
Removes an unused Bazel macro that has been used in the past for processing Sass files.
Replaces our custom ES5 JS module extraction rule with a configurable one that has recently been added to the dev-infra package.
Updates MDC to the latest canary version which contains: material-components/material-components-web@9808de0. This change allows us to remove the RequireJS configuration files. While removing these files, we also simplify our Bazel Karma test suite setup so that no MDC UMD bundles need to be specified manually. This was cumbersome and especially time-consuming because the old setup also required developers to manually determine which transitive MDC UMD bundles are needed. The new setup always includes all MDC UMD files in Karma web test suites. Ideally this would not be needed at all, but due to a limitation in `rules_nodejs`, the MDC UMD files cannot be resolved automatically from the `deps`. We could archive this using a custom Bazel rule (confirmed in some experiments that it is possible), but this rule will become quite complex and seem like a bandaid. Eventually the Bazel NodeJS rules should be able to determine named AMD files out-of-the box when installing the node modules.
Removes the `expand_template` Bazel rule with a similar rule that is provided by the shared dev-infra package.
70bd7e2 to
7e16ea5
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
See individual commits.