feat: add support for new compiler assets api#277
Conversation
🦋 Changeset detectedLatest commit: 10e6bf8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedPull request was closed or merged during review WalkthroughThis PR adds support for Marko compiler's built-in 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed due to a network error. Comment |
Add support for the Marko compiler's built-in asset orchestration. When the installed compiler and translator support it, the plugin lets the compiler generate server entry wrappers and flush assets, including assets for lazily loaded (
import ... with { load }) templates.The
getMarkoAssetCodeForEntryplugin api is now deprecated. It targets the legacy asset handling, so any plugin providing it opts the build out of the compiler's built-in asset orchestration.