Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295402

Webpack compiled 300K JS break core JS aggregation

$
0
0

Problem/Motivation

When enabling aggregation with the attached JS, we get Uncaught SyntaxError: Identifier 'e' has already been declared

Steps to reproduce

Not sure. The unaggregated version looks this

<script src="/core/assets/vendor/once/once.min.js?v=1.0.1"></script>
<script src="/core/misc/drupalSettingsLoader.js?v=10.4.4"></script>
<script src="/core/misc/drupal.js?v=10.4.4"></script>
<script src="/core/misc/drupal.init.js?v=10.4.4"></script>
<script src="/core/assets/vendor/tabbable/index.umd.min.js?v=6.2.0"></script>
<script src="/core/themes/olivero/js/navigation-utils.js?v=10.4.4"></script>
<script src="/core/themes/olivero/js/checkbox.js?v=10.4.4"></script>
<script src="/modules/contrib/pantheon_content_publisher/js/preview.js?stab8r"></script>

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>