Base structure for monorepo

This commit is contained in:
Abhishek Gahlot
2020-08-17 20:04:10 +05:30
parent f53512c6d4
commit d87613399e
74 changed files with 6812 additions and 244 deletions

View File

@@ -1,17 +0,0 @@
const purgecss = [
'@fullhuman/postcss-purgecss',
{
content: ['./components/**/*.tsx', './pages/**/*.tsx'],
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
},
];
module.exports = {
plugins: [
'postcss-preset-env',
'postcss-import',
'tailwindcss',
'autoprefixer',
...(process.env.NODE_ENV === 'production' ? [purgecss] : []),
],
};