Commit Graph

10 Commits (5a2e5c2510799dbf472e47d4c0da5c7050a7b221)

Author SHA1 Message Date
Arpad Borsos 64f8e77999
optimize generated code for if statements
9 years ago
Arpad Borsos b63a54b502
correctly insert non-element children before an anchor
9 years ago
Rich-Harris 78667bc920 only detach nodes if necessary (fixes #26)
9 years ago
Rich-Harris 8704d38503 use MagicString.Bundle for better sourcemap support
9 years ago
Rich-Harris 04388f7a0e initialise fragments with data, rather than waiting for first update
9 years ago
Rich-Harris 170f4210bc refactor slightly
9 years ago
Rich-Harris c523fc74aa only update components if their dependencies have changed
9 years ago
Rich-Harris c79b38ff6a implement else blocks
9 years ago
Rich-Harris 26a436fb87 rename template to source in generator, to avoid confusion
9 years ago
Rich-Harris 5b397b781b modularize visitors
9 years ago