Skip to content

Releases: FredKSchott/snowpack

[email protected]

07 Aug 23:56
Compare
Choose a tag to compare

Bugfixes

  • Fix same-directory relative URLs (#698)

Features

  • Adds Babel options in @snowpack/plugin-babel (#675)

[email protected]

07 Aug 23:55
Compare
Choose a tag to compare

Bugfixes

  • Fix default build script handling in legacy plugins (#693)
  • Fix @snowpack/plugin-webpack bug, update to new plugin API (#694)
  • Fix run script bug (#695)

[email protected]

07 Aug 23:53
Compare
Choose a tag to compare

Bugfixes

  • Fix transform() bug for new plugin API (#685)

2.7.0

07 Aug 23:50
Compare
Choose a tag to compare

Lots of new features in this release:

  • Redesigned plugin API plus new guides for plugin authors
  • Import aliasing and new ways to customize Snowpack
  • Improved build performance with smaller, faster builds
  • New Svelte + TypeScript app templates
  • Bug fixes, usability improvements & more!

Read the blog post

v2.6.4

07 Jul 22:16
87c2fc7
Compare
Choose a tag to compare

Fix

v2.6.3...v2.6.4

v2.6.3

30 Jun 21:26
Compare
Choose a tag to compare

Fix

  • Quick fix for Svelte CSS imports in unbundled builds (#561) 5543dc7
  • Support scanning remote HTML script elements (#559) 262c08b

v2.6.2...v2.6.3

v2.6.2

30 Jun 19:10
Compare
Choose a tag to compare

Fix

  • Don’t exclude . from build extension matcher (#557) e21b453

v2.6.1...v2.6.2

v2.6.1

28 Jun 23:13
Compare
Choose a tag to compare

Small Fix

  • handle node-fetch, whatwg-fetch Node polyfills (#547) 23289f4

v2.6.0

27 Jun 00:14
Compare
Choose a tag to compare

Export Map Support (#539)

EbTyXp8U8AAVQHl

Snowpack now supports export maps! As of Node v12 (LTS) package authors have the chance to define an explicit set of file entrypoints inside of their package. Snowpack will now respect these export maps, and warn if you try to import a file outside of them. `import 'preact/some-private-package-file.js' will now throw an error to match Node.js behavior.

See Node's official documentation for more: https://nodejs.org/api/esm.html#esm_package_entry_points

Optimized Build Dependencies (#526)

As a part of your production build, Snowpack now scans your build output to optimize your dependencies. Previously, Snowpack would tree-shake by scanning your source code, which gave less accurate results. This new feature gives you an even better-optimized tree-shaking result, and fixes issues where your build pipeline actually adds/removes imports.

Other Features & Fixes

  • @snowpack/plugin-webpack v1.4.0 released with logging and polyfill improvements.
  • Enable livereload when HMR is not supported for the file type (ex: HTML file change) (#540) f29b9fe
  • Fix: Fallback to HTTP1 when using proxies (#536) 5653cdf
  • Fix: Allow baseUrl to be remote (#531) 5e6fc22
  • Fix: Resolve JS imports inside of HTML script tags (#527) 641cc81
  • Fix: Import a folder with trailing slash on the path (#529) 55fb04c
  • Fix (externalPackage): now matches deep imports within an external package (#533) f60ae3d
  • (Internal, use at your own risk!) import {unstable_installCommand} from 'snowpack'; (#525) d203b02
  • (Internal only) Add standard file interface (#541) b538d68
  • (Internal only) Swap Chalk for Kleur (#520) e7d67ff

PS: Our webpack plugin
v2.5.4...v2.6.0

v2.5.4

22 Jun 17:49
Compare
Choose a tag to compare

Small Regression Fix

  • Fix issue where main was ignored on browser object packages (#528) 2f30978

v2.5.3...v2.5.4