Skip to content

Releases: drannex42/svelte-capacitor

v2.0.3

10 Feb 21:53
b43bc07
Compare
Choose a tag to compare
  • Added a launch screen and icon handler
  • Changed config from to a typescript file to support comments.

Thanks to @ak4zh for this work!

v2.0.2

17 Aug 21:58
8bb1b36
Compare
Choose a tag to compare

This is another small fix release.

  • Removed the svelte.config file as it is no longer needed.
  • Added the preprocessor to the svelte build, this allows for proper typescript support and some additional compression and makes the overall build system much smoother.
  • Edited the readme to include notes on how to handle assets and a link to the Vite section devoted to it.

v2.0.1

02 Aug 19:49
3e951c3
Compare
Choose a tag to compare

This is a minor release that fixes some minor issues:

  • Fixes the build script for iOS
  • Fixes the server url section in the capacitor config file (thanks @REDRONIN!)
  • Updates the ReadMe for some better tips and to fix my horrific grammatical and spelling errors (thanks @didier!)

v2.0.0

22 Jul 00:43
Compare
Choose a tag to compare

The new version is here, this comes with some better defaults, vite as the build manager, built in routing library, typescript, and aliases. While this could be seen as an 'incremental' update I think this works as a v2.0.0 as it was a complete rewrite.

  • Build Tool: Changed the build tool to Vite from rollup, this is the new and recommended way to develop svelte applications, it's faster, cleaner, and easier to handle.
  • Routing: Built in routing library, using Routify, I spent a considerable time debating on including one - I decided I would. This is mainly due to the amount of messages and emails(!) I received asking how to implement one, Routify is by far my favorite and so here it is. This is very easily removed and replaced with your preferred.
  • Typescript: I personally do not use typescript as much as I should, but others do. I have included some TS configs for you.
  • @components, @store, and @utils: If you have ever taken a look at sveltekit they have these nify aliases throughout their code so you don't have to write '../../../components' or what have you. Now you can just do '@components/file' and Vite will readily load them from the components folder, this makes it easy to create changes as you don't need to change the file location on every move or copy. Please check out the Vite Aliases package for more questions.