Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Components moved to `src/bento` bundle common dependencies instead of sharing with `bento.js`. They lack these options that enable module loading: ```js { wrapper: 'bento', babelCaller: options.minify ? 'bento-element-minified' : 'bento-element-unminified', } ``` To fix this, they should use `buildBentoExtensionJs()` --- See bundle size after change: ``` dist/v0/bento-accordion-1.0.mjs: Δ -12.25KB dist/v0/bento-jwplayer-1.0.mjs: Δ -11.31KB ```
- Loading branch information
1 parent
ab769cd
commit cfab8b1
Showing
3 changed files
with
16 additions
and
54 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