mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +03:00
c40d532880
* Fix typo * Update landing page with components from TailwindUI * Update copy * Update FAQ and testimonials * Add feature section * Update copy for integration * Implement feedback * Remove github button JS * Update headings * Update gray values * Update CTA section * Add copy
19 lines
390 B
JavaScript
19 lines
390 B
JavaScript
const purgecss = require('@fullhuman/postcss-purgecss')({
|
|
content: [
|
|
'./js/**/*.js',
|
|
'../lib/plausible_web/templates/**/*.html.eex',
|
|
],
|
|
|
|
defaultExtractor: content => content.match(/[\w-/.:]+(?<!:)/g) || []
|
|
})
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
require('tailwindcss'),
|
|
require('autoprefixer'),
|
|
...process.env.NODE_ENV === 'production'
|
|
? [purgecss]
|
|
: []
|
|
]
|
|
}
|