Browse Source
* Add support for purging tailwind styles. For #224 * Build prod version of tailwind in build scriptpull/297/head
5 changed files with 2005 additions and 28 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
module.exports = { |
||||
plugins: [ |
||||
require('cssnano')({ |
||||
preset: 'default', |
||||
}), |
||||
], |
||||
}; |
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
module.exports = { |
||||
purge: { |
||||
mode: 'layers', |
||||
content: ['../../webroot/js/**.js', '../../webroot/js/**.html'], |
||||
}, |
||||
}; |
Loading…
Reference in new issue