mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
last
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
module.exports = {
|
||||
purge: {
|
||||
enabled: !process.env.ROLLUP_WATCH,
|
||||
//mode: 'all',
|
||||
//preserveHtmlElements: false,
|
||||
content: ['./public/index.html', './src/**/*.svelte'],
|
||||
options: {
|
||||
defaultExtractor: content => [
|
||||
...(content.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || []),
|
||||
...(content.match(/(?<=class:)[^=>\/\s]*/g) || []),
|
||||
],
|
||||
//keyframes: true,
|
||||
},
|
||||
},
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
|
||||
Reference in New Issue
Block a user