From 8c23c5e20b123a3a4f19fe55167fd809a2576f15 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sun, 2 Oct 2022 13:29:35 +0200 Subject: [PATCH] fix(apps): postcss and tailwindcss configs --- apps/docs/postcss.config.js | 8 +------- apps/docs/tailwind.config.js | 11 +---------- apps/r11y.news/postcss.config.js | 8 +------- apps/r11y.news/tailwind.config.js | 11 +---------- apps/web/postcss.config.js | 8 +------- apps/web/tailwind.config.js | 11 +---------- 6 files changed, 6 insertions(+), 51 deletions(-) diff --git a/apps/docs/postcss.config.js b/apps/docs/postcss.config.js index 07bd3b4..da3ae17 100644 --- a/apps/docs/postcss.config.js +++ b/apps/docs/postcss.config.js @@ -1,7 +1 @@ -postcss.config.js -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {} - } -} \ No newline at end of file +module.exports = require('config/postcss.config') \ No newline at end of file diff --git a/apps/docs/tailwind.config.js b/apps/docs/tailwind.config.js index a42678e..586a406 100644 --- a/apps/docs/tailwind.config.js +++ b/apps/docs/tailwind.config.js @@ -1,10 +1 @@ -module.exports = { - content: [ - '../../packages/ui/components/**/*.{ts,tsx}', - './src/**/*.{ts,tsx}' - ], - theme: { - extend: {} - }, - plugins: [] - } \ No newline at end of file +module.exports = require('config/tailwind.config') \ No newline at end of file diff --git a/apps/r11y.news/postcss.config.js b/apps/r11y.news/postcss.config.js index 07bd3b4..da3ae17 100644 --- a/apps/r11y.news/postcss.config.js +++ b/apps/r11y.news/postcss.config.js @@ -1,7 +1 @@ -postcss.config.js -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {} - } -} \ No newline at end of file +module.exports = require('config/postcss.config') \ No newline at end of file diff --git a/apps/r11y.news/tailwind.config.js b/apps/r11y.news/tailwind.config.js index a42678e..586a406 100644 --- a/apps/r11y.news/tailwind.config.js +++ b/apps/r11y.news/tailwind.config.js @@ -1,10 +1 @@ -module.exports = { - content: [ - '../../packages/ui/components/**/*.{ts,tsx}', - './src/**/*.{ts,tsx}' - ], - theme: { - extend: {} - }, - plugins: [] - } \ No newline at end of file +module.exports = require('config/tailwind.config') \ No newline at end of file diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js index 07bd3b4..da3ae17 100644 --- a/apps/web/postcss.config.js +++ b/apps/web/postcss.config.js @@ -1,7 +1 @@ -postcss.config.js -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {} - } -} \ No newline at end of file +module.exports = require('config/postcss.config') \ No newline at end of file diff --git a/apps/web/tailwind.config.js b/apps/web/tailwind.config.js index a42678e..586a406 100644 --- a/apps/web/tailwind.config.js +++ b/apps/web/tailwind.config.js @@ -1,10 +1 @@ -module.exports = { - content: [ - '../../packages/ui/components/**/*.{ts,tsx}', - './src/**/*.{ts,tsx}' - ], - theme: { - extend: {} - }, - plugins: [] - } \ No newline at end of file +module.exports = require('config/tailwind.config') \ No newline at end of file