fix: revert hacks for now
This commit is contained in:
parent
bd0f807c11
commit
0d09db2bdb
|
@ -53,27 +53,11 @@ const baseConfig = {
|
|||
}),
|
||||
// make the svelte output slightly smaller
|
||||
replace({
|
||||
'options.anchor': 'undefined',
|
||||
'options.context': 'undefined',
|
||||
'options.events': 'undefined',
|
||||
'options.immutable': 'false',
|
||||
'options.customElement': 'undefined',
|
||||
'options.hydrate': 'undefined',
|
||||
'options.intro': 'undefined',
|
||||
'options.recover': 'false',
|
||||
// remove hydration
|
||||
'current_hydration_fragment !== null': 'false',
|
||||
'current_hydration_fragment === null': 'true',
|
||||
'hydration_fragment === null': 'true',
|
||||
'hydration_fragment !== null': 'false',
|
||||
'get_hydration_fragment(first_child)': 'null',
|
||||
// remove transitions
|
||||
'active_transitions.length': '0',
|
||||
'alternate_transitions.size': '0',
|
||||
'consequent_transitions.size': '0',
|
||||
'transitions.size': '0',
|
||||
'each_block.transitions': '[]',
|
||||
'block.transitions': 'null',
|
||||
"trigger_transitions(transitions, 'key', from)": '',
|
||||
"trigger_transitions(transitions, 'out')": '',
|
||||
'= each_item_transition': '= () => {}',
|
||||
delimiters: ['', ''],
|
||||
preventAssignment: true
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue