amphora-html 6.0.0-5 → 6.0.0-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/media.js +1 -1
  2. package/package.json +1 -1
package/lib/media.js CHANGED
@@ -409,7 +409,7 @@ function injectScriptsAndStyles(state) {
409
409
  if (!locals.edit) {
410
410
  mediaMap.styles = combineFileContents(mediaMap.styles, 'public/css', '/css/', STYLE_TAG);
411
411
  mediaMap.scripts = !!mediaMap.manifestAssets && mediaMap.manifestAssets.length > 0
412
- ? injectTags(mediaMap.manifestAssets, locals.site, ASYNC_SCRIPT_TAG)
412
+ ? injectTags(mediaMap.manifestAssets, locals.site, DEFER_SCRIPT_TAG)
413
413
  : combineFileContents(mediaMap.scripts, 'public/js', '/js/', SCRIPT_TAG);
414
414
  } else {
415
415
  mediaMap.styles = module.exports.editStylesTags ? injectTags(mediaMap.styles, locals.site, STYLE_TAG) : combineFileContents(mediaMap.styles, 'public/css', '/css/', STYLE_TAG);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amphora-html",
3
- "version": "6.0.0-5",
3
+ "version": "6.0.0-6",
4
4
  "description": "An HTML renderer for component data",
5
5
  "main": "index.js",
6
6
  "scripts": {