Issue #3086931 by longwave, zrpnr, Spokje: Remove unused postcss.config.js
parent
eb2d361ef3
commit
15dc7bfeb4
|
|
@ -1,20 +0,0 @@
|
|||
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`,
|
||||
}),
|
||||
]
|
||||
});
|
||||
|
|
@ -425,7 +425,7 @@ for FILE in $FILES; do
|
|||
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…
Reference in New Issue