a4e2b0d580
* Unflag the static build * Only set legacyBuild to false if experimentalSSR is true * Use legacy build when we have to * Put a few more tests into legacy mode * Last two * Make astro-basic use the legacy build * Adds a changeset * Mark the lit test as legacy * Update yarn lock * Update based on feedback * Add --legacy-build flag
720 B
720 B
astro |
---|
minor |
New default build strategy
This change marks the "static build" as the new default build strategy. If you are unfamiliar with this build strategy check out the migration guide on how to change your code to be compatible with this new bulid strategy.
If you'd like to keep using the old build strategy, use the flag --legacy-build
both in your astro dev
and astro build
scripts, for ex:
{
"scripts": {
"build": "astro build --legacy-build"
}
}
Note that the legacy build is deprecated and will be removed in a future version. You should only use this flag until you have the time to migration your code.