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 - ] -};