From 108291d5fb7957260f9b126039d322b46c110845 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Tue, 5 Sep 2023 10:12:56 -0400 Subject: [PATCH] Move postcss config to package.json See https://github.com/nasa-gcn/gcn.nasa.gov/pull/1335. --- package.json | 13 ++++++++++++- postcss.config.js | 12 ------------ 2 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 postcss.config.js diff --git a/package.json b/package.json index fae6257..dd0746f 100644 --- a/package.json +++ b/package.json @@ -82,5 +82,16 @@ "last 2 versions", "IE 11", "not dead" - ] + ], + "postcss": { + "plugins": { + "autoprefixer": { + "cascade": false, + "grid": true + }, + "csso": { + "forceMediaMerge": false + } + } + } } diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 8525cdb..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,12 +0,0 @@ -const autoprefixer = require('autoprefixer') -const csso = require('postcss-csso') - -module.exports = { - plugins: [ - autoprefixer({ - cascade: false, - grid: true, - }), - csso({ forceMediaMerge: false }), - ], -}