From 8620063ae01376186157672fa3814657bfec770e Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 11 May 2022 19:11:16 +0100 Subject: [PATCH] Issue #3278246 by lauriii, alexpott, nod_, justafish: Deprecate core/scripts/js/babel-es6-build.js for removal from 10.0.x --- core/scripts/js/babel-es6-build.js | 2 ++ core/scripts/js/babel-es6-watch.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/scripts/js/babel-es6-build.js b/core/scripts/js/babel-es6-build.js index 0bbdfebd546dd66..647bd870aefc373 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 c9d1b147e03e750..2fbcfe3196d1da5 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