Elder.js is an opinionated static site generator and web framework for Svelte built with SEO in mind.
Fixes small bugs encountered when trying to get Elder.js working with Typescript seamlessly.
Fix circular JSON on data and allRequest routes.
Fix bug where allRequests.json
would not be honored if there was a server.prefix
defined.
Add in experimental server.allRequests
to create an allRequests
route.
Remove stray console log
dataRoutes
to the config. This allows for requesting the data object from Elder.js routes. If your route is /foo/
you can go to /foo/data.json
to get the data object.perf
to shortcodesFix #245 and add test coverage
Add component mounting events to the browser.
This will now allow functions to be run once a component has mounted that are outside of Svelte.
<script>
document.addEventListener('ejs', (e) => {
console.log('componentMount', e.detail);
});
</script>
Had a breaking bug introduced on edge cases when using perf
and ssr
.
Remove stray console logs that we removed but didn't make it into the last release.