You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an application has more than one ember addon installed that exports a ManifestGenerator-extended addon, a meta tag is inserted into the head-footer content-for block because each addon has a contentFor hook defined by ManifestGenerator:
After post-processing, the first meta tag is replaced by the contents of the asset manifests provided by both addons, so it has all of the correct content, but there is an extraneous meta tag that remains:
Ideally even if multiple addons consumed by the host app are using ManifestGenerator, only a single asset-manifest meta tag would be inserted, or the extra ones be removed during the post-processing when the manifest is being injected.
The text was updated successfully, but these errors were encountered:
When an application has more than one ember addon installed that exports a
ManifestGenerator
-extended addon, a meta tag is inserted into thehead-footer
content-for block because each addon has acontentFor
hook defined byManifestGenerator
:ember-asset-loader/lib/manifest-generator.js
Line 17 in ad0d518
For example, with two addons that use
ManifestGenerator
, before post-processing, the index.html may look like:After post-processing, the first meta tag is replaced by the contents of the asset manifests provided by both addons, so it has all of the correct content, but there is an extraneous meta tag that remains:
Ideally even if multiple addons consumed by the host app are using
ManifestGenerator
, only a single asset-manifest meta tag would be inserted, or the extra ones be removed during the post-processing when the manifest is being injected.The text was updated successfully, but these errors were encountered: