Skip to content

Releases: bfanger/tvkit

0.20.0

17 May 15:37

Choose a tag to compare

  • Added the --terser-config option. #20

When no --terser-config is provided, it uses the default config:

{
  "ecma": 5,
  "safari10": true
}

See https://terser.org/docs/options/ for available options.

0.19.0

14 May 11:24

Choose a tag to compare

  • Updated dependencies
  • Improved compatibility with @sveltejs/kit: 2.21.0 with @sveltejs/adapter-node: 5.2.12

0.18.0

16 Jun 10:32

Choose a tag to compare

Improved Svelte 5 / SvelteKit support

tvkit serve now also converts responses with content-type text/css

Polyfills updates

  • Added AbortController
  • Added DOMNode.isConnected
  • Added Streams (ReadableStream)
  • Added console.log (unbound calls)
  • Updated Proxy (es6-proxy-polyfill instead of proxy-polyfill)

0.17.0

11 Jun 07:00

Choose a tag to compare

  • Initial support for Svelte 5

    • Patching css :where selector
  • Added "Simulator" documentation

  • Upgraded dependencies

    • Migrated to eslint flat config
    • http-proxy-middleware v3

0.16.1

06 Mar 08:58

Choose a tag to compare

  • Updated server patch for SvelteKit v2 node-adapter #16

0.15.0

19 Jan 10:08

Choose a tag to compare

  • Add data-tvkit="ignore" to a <script> or <style> tag to:
    • Delay loading polyfills #14
    • Skip processing inside the html file
    • Note: Code that is loaded with the src attribute is still transpiled when served by tvkit proxy

0.14.0

19 Nov 13:50

Choose a tag to compare

  • Clarified when to use @vite/plugin-legacy in the Readme
  • Removed experimental warning from tvkit build
  • tvkit build now skips (copies) files that encounter a transformation error
  • Skip node_modules folder in @sveltejs/adapter-node builds
  • Added --quiet option to tvkit build
  • When a folder is "just copied" only log the foldername, not the individuals files.
  • Updated dependencies to the latest version

0.13.0

04 Sep 10:13

Choose a tag to compare

  • Updated deps (and applied formatting)
  • Updated SvelteKit node-adapter detection
  • Added support for empty files/modules for non-esm browsers

0.12.0

03 Mar 15:19

Choose a tag to compare

  • --add & --remove Allow overriding specific features
  • --no-minify skips minification for polyfills (allows easier polyfill identification in error stacktrace)
  • Polyfill for document.currentScript (Required for SvelteKit 1.8+ in IE11)

0.11.0

26 Feb 15:08

Choose a tag to compare

  • Improved compatibility for inline scripts
  • Updated server patch for SvelteKit 1.8.x

Note: SvelteKit 1.8 uses document.currentScript which is not supported in IE11.