Loading core/postcss.config.jsdeleted 100644 → 0 +0 −20 Original line number Diff line number Diff line module.exports = ctx => ({ map: !ctx.env || ctx.env !== 'production' ? { inline: false } : false, plugins: [ require('postcss-custom-properties')({ preserve: false, // Breaks style lint and unnecessary if preserve set to false. // exportTo: 'dist-css/variables.css', importFrom: [ './themes/claro/css/src/base/variables.css' ] }), require("postcss-calc"), require('autoprefixer')({ cascade: false }), require('postcss-header')({ header: `DO NOT EDIT THIS FILE.\nSee the following change record for more information,\nhttps://www.drupal.org/node/3084859\n@preserve`, }), ] }); core/scripts/dev/commit-code-check.sh +1 −1 Original line number Diff line number Diff line Loading @@ -425,7 +425,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/modules/ckeditor5/js/build ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ core/postcss.config.js ]] && ! [[ "$FILE" =~ webpack.config.js$ ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]] && ! [[ "$FILE" =~ core/modules/ckeditor5/tests/modules/ckeditor5_test/js/build/layercake.js ]]; then if ! [[ "$FILE" =~ ^core/assets/vendor ]] && ! [[ "$FILE" =~ ^core/modules/ckeditor5/js/build ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ webpack.config.js$ ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]] && ! [[ "$FILE" =~ core/modules/ckeditor5/tests/modules/ckeditor5_test/js/build/layercake.js ]]; then printf "${red}FAILURE${reset} $FILE does not have a corresponding $BASENAME.es6.js\n" STATUS=1 fi Loading Loading
core/postcss.config.jsdeleted 100644 → 0 +0 −20 Original line number Diff line number Diff line module.exports = ctx => ({ map: !ctx.env || ctx.env !== 'production' ? { inline: false } : false, plugins: [ require('postcss-custom-properties')({ preserve: false, // Breaks style lint and unnecessary if preserve set to false. // exportTo: 'dist-css/variables.css', importFrom: [ './themes/claro/css/src/base/variables.css' ] }), require("postcss-calc"), require('autoprefixer')({ cascade: false }), require('postcss-header')({ header: `DO NOT EDIT THIS FILE.\nSee the following change record for more information,\nhttps://www.drupal.org/node/3084859\n@preserve`, }), ] });
core/scripts/dev/commit-code-check.sh +1 −1 Original line number Diff line number Diff line Loading @@ -425,7 +425,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/modules/ckeditor5/js/build ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ core/postcss.config.js ]] && ! [[ "$FILE" =~ webpack.config.js$ ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]] && ! [[ "$FILE" =~ core/modules/ckeditor5/tests/modules/ckeditor5_test/js/build/layercake.js ]]; then if ! [[ "$FILE" =~ ^core/assets/vendor ]] && ! [[ "$FILE" =~ ^core/modules/ckeditor5/js/build ]] && ! [[ "$FILE" =~ ^core/scripts/js ]] && ! [[ "$FILE" =~ ^core/scripts/css ]] && ! [[ "$FILE" =~ webpack.config.js$ ]] && ! [[ -f "$TOP_LEVEL/$BASENAME.es6.js" ]] && ! [[ "$FILE" =~ core/modules/ckeditor5/tests/modules/ckeditor5_test/js/build/layercake.js ]]; then printf "${red}FAILURE${reset} $FILE does not have a corresponding $BASENAME.es6.js\n" STATUS=1 fi Loading