presentations/decoupling-drupal-vuejs/demo/blue-conf/vuejs/postcss.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
409 B
JavaScript
Raw Normal View History

2019-05-25 00:11:42 +01:00
module.exports = {
2019-08-30 17:44:23 +01:00
plugins: [
require('postcss-import'),
require('tailwindcss'),
require('postcss-nested'),
2019-08-30 17:57:30 +01:00
require('autoprefixer'),
process.env.NODE_ENV === 'production' && require('@fullhuman/postcss-purgecss')({
content: [
'./src/**/*.vue',
'./public/index.html',
],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
})
2019-08-30 17:44:23 +01:00
]
2019-05-25 00:11:42 +01:00
}