Skip to content

Releases: mxdvl/mononykus

0.7.2 – Bump dependencies

12 Mar 15:45
e33a252
Compare
Choose a tag to compare

What's Changed

  • Bump esbuild and its plugins by @mxdvl in #48

Full Changelog: 0.7.1...0.7.2

Move to Svelte 4

28 Aug 10:58
504dba2
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.1...0.7.0

Pin Svelte to v3

11 Jul 11:01
4c168ee
Compare
Choose a tag to compare
Fixes some issues (#43)

- normalise base for when it is not set

Add module API

28 Apr 16:26
9bcb89b
Compare
Choose a tag to compare
  1. Can now be consumed as a standard es module too:
import { build, watch } from 'https://deno.land/x/mononykus@0.6.0/src/build.ts';
  1. CLI flags have changed:
Before After
--dev --watch (to match export name)
--site --site_dir
--build --out_dir
--minify toggles minification (defaults to true, but false in watch)
  1. The default build output is now /build.

Full Changelog: 0.5.0...0.6.0

Auto-hydrating islands

28 Apr 12:23
3aa8070
Compare
Choose a tag to compare

Previously, the page introspected for islands awaiting hydration, fetched the relevant modules then hydrated.

This means module loading was delayed until the DOM was ready and subsequently scanned.

Since we know at compile time which islands are used on any given page, we can load the necessary modules for each page with ordinary script tags in the page head.

The modules themselves can then search for their targets and hydrate them.

Full Changelog: 0.4.1...0.5.0

Minimal build chunks

24 Apr 09:18
aad2eb5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.0...0.4.1

Components can import svelte lifecycle handlers from `svelte`

22 Apr 14:45
6bcc110
Compare
Choose a tag to compare

e.g.

import { onMount } from 'svelte';

0.3.5

21 Apr 15:30
5c2fe05
Compare
Choose a tag to compare
  • Use svelte.preprocess to provide the hook for the island hydrator #24
  • Hydration code is now type checked #26