diff --git a/core/scripts/js/babel-es6-build.js b/core/scripts/js/babel-es6-build.js index 0bbdfebd546d..647bd870aefc 100644 --- a/core/scripts/js/babel-es6-build.js +++ b/core/scripts/js/babel-es6-build.js @@ -22,6 +22,8 @@ const changeOrAdded = require('./changeOrAdded'); const check = require('./check'); const log = require('./log'); +console.warn('⚠️ yarn `build:js` command is deprecated in drupal:9.4.0 and will be removed from drupal:10.0.0. This command is no longer needed in Drupal 10.0.0 once https://www.drupal.org/project/drupal/issues/3278415 is committed.️'); + // Match only on .es6.js files. const fileMatch = './**/*.es6.js'; // Ignore everything in node_modules diff --git a/core/scripts/js/babel-es6-watch.js b/core/scripts/js/babel-es6-watch.js index c9d1b147e03e..2fbcfe3196d1 100644 --- a/core/scripts/js/babel-es6-watch.js +++ b/core/scripts/js/babel-es6-watch.js @@ -16,6 +16,8 @@ const chokidar = require('chokidar'); const changeOrAdded = require('./changeOrAdded'); const log = require('./log'); +console.warn('⚠️ yarn `watch:js` command is deprecated in drupal:9.4.0 and will be removed from drupal:10.0.0. This command is no longer needed in Drupal 10.0.0 once https://www.drupal.org/project/drupal/issues/3278415 is committed.️'); + // Match only on .es6.js files. const fileMatch = './**/*.es6.js'; // Ignore everything in node_modules