ES6 js files are out of date

Created on 1 September 2025, about 1 month ago

Problem/Motivation

This module use es6.js files which are not supported from Drupal 10.
Scripts to re-created regular js files are not working.
It will cause the issues for add new functionality in the future.

https://www.drupal.org/about/core/policies/core-change-policies/frontend... β†’

Steps to reproduce

"npm run build:js" script is not working due to the absent "babel-es6-build.js" file in core.

Proposed resolution

Get rid of old es6 flow and fix lint scripts.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine andriic

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

Merge Requests

Comments & Activities

  • Issue created by @andriic
  • Merge request !23Resolve #3544302 "Es6 js files" β†’ (Open) created by andriic
  • Pipeline finished with Success
    about 1 month ago
    Total: 157s
    #587535
  • Pipeline finished with Success
    about 1 month ago
    Total: 166s
    #587968
  • πŸ‡ΊπŸ‡¦Ukraine andriic

    package.json and yaml.lock were removed from the module since we don't need them.
    js were fixed according to the .eslintrc.passing.json in the core.
    I was using the command from the core folder to check errors

    node ./node_modules/eslint/bin/eslint.js --config=.eslintrc.passing.json --resolve-plugins-relative-to=./ ../modules/contrib/commerce_cart_flyout

Production build 0.71.5 2024