Skip to content

Commit

Permalink
fix: revert hacks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Nov 18, 2023
1 parent bd0f807 commit 0d09db2
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}),
Expand Down

0 comments on commit 0d09db2

Please sign in to comment.