Skip to content

Releases: FredKSchott/snowpack

snowpack@2.11.1

14 Sep 05:28
Compare
Choose a tag to compare

New optimized build plugin: @snowpack/plugin-optimize

Screenshot

Thanks to @drwpow for spearheading this work.

HMR/Livereload enabled for build --watch mode

Screenshot

@MoonBall led this project (#1008) from start to finish 👏 👏 👏

Assorted fixes and improvements!

A huge thanks to all of our contributors for this release!

snowpack@2.10.2

08 Sep 06:01
Compare
Choose a tag to compare

Bug fixes and more!

  • 2966ec4 - fix css import url resolver (#1001)
  • 549caa2 - remove source mapping url
  • 263c2b1 - Remove the process polyfill's dependency on window, so it can run in web workers. (#994)
  • 27ce2db - fix greedy css import regex (#991)
  • 5df8c55 - Fix HTML_JS_REGEX (#986)
  • ac04f91 @snowpack/app-scripts-preact - update @prefresh/snowpack dep
  • 2be375a @snowpack/plugin-webpack - add manifest to webpack plugin (#983)

snowpack@2.10.1

02 Sep 04:22
Compare
Choose a tag to compare

Some "build" command fixes

  • fix(build): any file error exited the build in watch mode (#981)
  • fix(build): run script errors were ignored (#981)
  • fix(build): --watch mode would exit instead of watching (#981)

snowpack@2.10.0

01 Sep 00:13
Compare
Choose a tag to compare

🆕 Native CSS @imports

TwitterScreenshotv2 10

Snowpack now supports automatic scanning and resolution of your native CSS @import statements. Use it to load CSS, Sass, Less, and any compile-to-CSS language you already have defined in your build pipeline. We even support npm package imports.

See our documentation for more info: https://www.snowpack.dev/#css-imports-(%40import)
Learn more about CSS @import syntax: https://developer.mozilla.org/en-US/docs/Web/CSS/@import

Other Fixes and Improvements

New Logos!

CircleHD (@circlehddev) & Tongdun added to our "Who's using Snowpack" section!

snowpack@2.9.3

27 Aug 16:05
Compare
Choose a tag to compare
  • dev: Fix to support dev proxy files of non-string content (#400, @MoonBall)

snowpack@2.9.1

27 Aug 05:54
Compare
Choose a tag to compare

🎊 Bug Fixes & Improvements Galore!

2.9.0 - parallelized builds are here!

23 Aug 04:32
Compare
Choose a tag to compare

A huge thanks to all of our contributors who made this release possible, including:

  • @Akimyou, who fixed tricky issues in our HMR server
  • @fubhy, who improved our process polyfilling logic
  • and @MoonBall, who made several improvements across our plugin ecosystem, including a new config() hook!

See "Improvements / Bugfixes" below for a full list of relevant changes in this release:

⭐ NEW: Parallelized Builds

BuildRunner

#808 - The build command now runs multiple builds in parallel, one job for every core available on your machine. Snowpack build plugins can take advantage of this new support by offloading computationally consuming work to child processes, allowing Node.js to parallelize the work. Several of our plugins already support this:

  • @snowpack/plugin-build-script: Builds each file by running a CLI command in a separate thread.
  • @snowpack/plugin-babel: Spins up a pool of workers to run multiple Babel builds in parallel.
  • esbuild: Our default JSX/TypeScript builder is built with Go, and supports parallel builds.

The result? ~2x faster builds when parallel-enabled plugins are used. If your plugins are not yet built to take advantage of this feature, there should be no impact on performance.

⭐ NEW: Snowpack + Pika Discord Community

discord

Click here to join!

🐛 All Improvements & Bugfixes

  • dev d9a6623 fix remote import url handling
  • dev c5490fd Improve HMR (#827)
  • dev 07e4728 fix install error log to be more helpful
  • dev 6950266 support the html extension in dev server (#870)
  • build 582d0ed Support treeshaking when importing React by namespace (#879)
  • build ee05c28 ignore build directory in default build (#874)
  • install dde6a77 feat: add rollup plugin for polyfilling the global process object (#854)
  • plugins 5b0fe76 add config() hook (#864)
  • plugins 42493b6 update transform plugin to use id instead of filepath (#837)
  • plugins:webpack 17e93b6 Webpack: fix wrong logic when extendConfig's plugin has options. (#842)
  • create-snowpack-app:svelte 149515f Svelte: fix tsconfig for svelte template
  • create-snowpack-app:preact c9f3886 Preact: bump prefresh version

2.8.0

18 Aug 00:11
Compare
Choose a tag to compare

⭐ New

  • snowpack build --watch mode: have snowpack build to disk on every file change. Great if you are running your own server, such as Rails (#782).
  • @snowpack/plugin-vue has a new error output (#809). Give it a try!
  • The app-template-react template now comes preloaded with React refresh! (#829)

🐛 Improvements / Bugfixes

  • Dev server swallowing console logs has been fixed (#762, #807, #809). Also as a bonus, we dropped ora as a dependency, lightening the build a little and improving Windows output.
  • CommonJS support has been improved (#783)
  • Many module resolution & alias fixes for more stable development (#777, #554, #789, #796)

2.7.7

08 Aug 02:29
Compare
Choose a tag to compare

Features

  • New @snowpack/plugin-postcss plugin (#684)
  • Added experimental source map support (#681)
  • Build & Install output improvements (#735)

Bugfixes

  • Fixes importing CSS from web_modules bug (#766)
  • Re-re fix importing from root directory bug (#754)
  • Fixes importing from Svelte files (#764)
  • Fixes “@babel/preset-typescript not found” error in app-template-svelte-typescript (#765)

snowpack@2.7.6

07 Aug 23:57
Compare
Choose a tag to compare

Features

  • Add app-template-svelte-typescript (#701)

Bugfixes

  • FIxes breaking bug on Windows (#731)