Closed kcmr closed 5 years ago
:exclamation: No coverage uploaded for pull request base (
master@ea3d795
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## master #1 +/- ##
=======================================
Coverage ? 100%
=======================================
Files ? 4
Lines ? 65
Branches ? 0
=======================================
Hits ? 65
Misses ? 0
Partials ? 0
Impacted Files | Coverage Δ | |
---|---|---|
lib/config/rollup.js | 100% <100%> (ø) |
|
lib/config/babel.js | 100% <100%> (ø) |
|
lib/config/output.js | 100% <100%> (ø) |
|
index.js | 100% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ea3d795...838a1cd. Read the comment docs.
I'm not very proud of stubbing "private" methods...
Me neither. It shouldn't be done.
I'm not very proud of stubbing "private" methods...
Me neither. It shouldn't be done.
Changed in 2f326d7 by mocking addon.app
.
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Ember CLI addon to bundle Web Components using ES modules:
<script nomodule>
(Browser issues)~ 11 Regarding polyfills:
Finally the script to prevent Safari 10 downloading
nomodule
scripts is not included because the addon is assuming that the hosting application supports that browser. Additionally, whenautoImport
is set tofalse
, the script had to be imported from the addon folder (It doesn't sound good), so it's better to let the user include and import that script only if he needs it. Also, the file was included even ifmodules
option was not enabled, so it was totally wrong.The
customelements-define.js
script is always included in the bundle (not in vendor) because we know that it fixes a common issue when a script that registers acustomElements
is required by multiple files (very likely to happen). That script will be included in each of the generated bundles, but it is small enough (12 lines without minifying it) to not be an issue.