Closed mlrawlings closed 3 years ago
Uses the new output:hydrate option of the @marko/compiler. This allows removing much of the code in the loader.
output:hydrate
@marko/compiler
This PR also adds a check to see if there is no JS needed for the hydration of a template and eliminates the JS asset if it is empty.
BREAKING CHANGE: requires peer marko/@marko/compiler to be version 5.5.4 or higher.
marko
5.5.4
Description
Uses the new
output:hydrate
option of the@marko/compiler
. This allows removing much of the code in the loader.This PR also adds a check to see if there is no JS needed for the hydration of a template and eliminates the JS asset if it is empty.
BREAKING CHANGE: requires peer
marko
/@marko/compiler
to be version5.5.4
or higher.Motivation and Context
Screenshots (if appropriate):
Checklist: