-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🏗 Output distinct
bento-*.js
(#36174)
Before this change, output `bento-*.js` files are identical as `amp-*.js`, and not as they should be: 1. They should only work on Bento standalone mode, not AMP mode 2. They should not attempt to use AMP runtime features. Bento components directories include both `amp-*.js` and `base-element.js`. The former exports an AMP extension, while the latter exports a component-specific `BaseElement` that does not attempt to use AMP runtime features. This change generates a `bento-*.js` source file that uses the `BaseElement` implementation without AMP usage.
- Loading branch information
1 parent
bf4c1b7
commit 272d342
Showing
5 changed files
with
125 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.