diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 5b383ddb99..ad3d66bdd2 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -37,7 +37,7 @@ ckeditor5.editorClassic: version: *ckeditor5Version license: *ckeditor5License js: - js/build/editor-classic.js: { preprocess: false, minified: true } + assets/vendor/ckeditor5/build/editor-classic.js: { preprocess: false, minified: true } dependencies: - core/ckeditor5 diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index bbeb3eb2d3..eb85521763 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -293,7 +293,7 @@ else # If there is no .es6.js file then there should be unless the .js is # not really Drupal's. - if ! [[ "$FILE" =~ ^core/assets/vendor ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ core/postcss.config.js ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]]; then + if ! [[ "$FILE" =~ ^core/assets/vendor ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ core/postcss.config.js ]] && ! [[ "$FILE" =~ core/webpack.config.js ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]]; then printf "${red}FAILURE${reset} $FILE does not have a corresponding $BASENAME.es6.js\n" STATUS=1 fi