From 000ef2fc3e170c5881c4b0e56a731c6f8e128e72 Mon Sep 17 00:00:00 2001 From: Matas R Date: Tue, 23 Jul 2019 20:10:59 +0300 Subject: [PATCH] fixed postcss config depreciation --- nuxt.config.js | 6 ++++++ postcss.config.js | 15 --------------- 2 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 postcss.config.js diff --git a/nuxt.config.js b/nuxt.config.js index 8c80d40..d048277 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -27,6 +27,12 @@ module.exports = { } ] }, + build: { + postcss: { + "postcss-cssnext": {}, + "postcss-import": {} + } + }, /* ** Global CSS */ diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 92f1117..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,15 +0,0 @@ -const postcssCssNext = require("postcss-cssnext"); -const postcssImport = require("postcss-import"); - -module.exports = { - plugins: [ - postcssCssNext({ - features: { - customProperties: { - warnings: false - } - } - }), - postcssImport - ] -};