Webpack compiled 300K JS break core JS aggregation

Created on 17 March 2025, about 1 month ago

Problem/Motivation

When loading 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

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

asset library system

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024