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