bf0ea49b02
* Copy cms-datocms * Update package.json * Desktop design * Tablet support * Mobile styles * Update titles * Add article page * Minor tweaks * Fix height issue * Improve text colors * Extract Alert and Footer components * Extract avatar * Add Date * Extract container * Fix capitalization * Make it work with no backend * Add paragraph styles * Extract PostPreview * Extract h2 * Extract more stories * Refactor into more components * Update tags * Add missing key * Add custom document for lang="" support * Add dotenv * Load data for the index page * Limit posts * Show post page * Add markdown processing * Forgot margin * Add links * Remove files and add fallback * Add og:image * Add favicon * Add aria-label * Fix prerender * Learn more → read documentation * Fix links and footer * Desaturate using imgix * Add preview secret * Add preview support * Fix preview code * Exit preview mode * Extract getAllPostsWithSlug * Extract getAllPostsForHome * Extract getPreviewPostBySlug * Extract getPostAndMorePosts * Extract constants * Extract markdownToHtml * Fix markdown styles * Fix imgix for author * Add README * Add links to docs
18 lines
447 B
JavaScript
18 lines
447 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
'tailwindcss',
|
|
process.env.NODE_ENV === 'production'
|
|
? [
|
|
'@fullhuman/postcss-purgecss',
|
|
{
|
|
content: [
|
|
'./pages/**/*.{js,jsx,ts,tsx}',
|
|
'./components/**/*.{js,jsx,ts,tsx}',
|
|
],
|
|
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [],
|
|
},
|
|
]
|
|
: undefined,
|
|
'postcss-preset-env',
|
|
],
|
|
}
|