Skip to content

Releases: stealjs/steal-tools

1.4.0

10 Jul 18:22
Compare
Choose a tag to compare

steal-tools 1.4.0 is out! 💥🎆 This release marks a big shift in how steal-tools builds applications, as it introduces optimized builds (aka, slim builds). These use a new loader we wrote just for production use that only includes the bare minimum necessary to load an application.

Optimized Builds

You can learn about our plans for developing optimized builds from this blog article. For now some feature that you might be using in StealJS aren't implemented. But don't worry, you can try it out and it will tell you if your application is not compatible.

To try out using the new stealTools.optimize() API check out the guide, which will have you use the slim loader on an example application. The result is a 46% decrease in bundle size!

Using stealTools.build

steal-tools.build

Using stealTools.optimize

steal-tools.optimize

async scripts

One of the most exciting aspects of the new API is that it allows you to load your bundles using async script tags:

<body>
  <div class="container">Hello World.</div>
  <script async src="./dist/bundles/myhub/myhub.js"></script>
  <script async src="./dist/bundles/myhub/weather/weather.js"></script>
  <script async src="./dist/bundles/myhub/puppies/puppies.js"></script>
</body>

This means all of your bundles can be loaded in parallel, for faster loads (in supporting browsers).

In addition to the guide, check out the steal-tools.optimize documentation on the extra features it includes.

1.3.5

17 May 17:47
Compare
Choose a tag to compare

Fixes an issue with [email protected]; the pump module was incorrectly installed as a devDependency.

See 09c7b01

1.3.4

17 May 15:34
Compare
Choose a tag to compare

This patch release includes fixes for the following issues:

  • Option dest does not support function for CJS output #683
  • Minify the JS bundles (besides each individual node) #695
  • CleanCSS incorrectly updates url()s when using bundles #689
  • Deprecate engine-dependencies package #687
  • Bumps steal-conditional version to handle module identifiers with extensions #685
  • Documentation issues on the steal-tools bundle page stealjs/steal#1197 and #697
  • Adds buildResult as resolved value for stealTools.export #266
  • Use pump to simplify node streams handling here and here.

💥 💥

1.3.3

25 Apr 22:05
Compare
Choose a tag to compare

This patch release fixes some regressions in Node 4; see #682

1.3.2

25 Apr 20:23
Compare
Choose a tag to compare

This patch release includes fixes for the following issues:

  • Multimain build error #602
  • Infinite recursion with circular dependencies #582
  • css @import being removed during build #487
  • Better error message when dest is missing during an export #676
  • Better error message when main is missing during a build #678
  • Broken baseURL link in steal-tools docs #680

💥 🚀

1.3.0

03 Apr 16:26
Compare
Choose a tag to compare

This release adds support for Babel plugins and presets. You can learn more about it in the Steal 1.4.0 release notes.

1.2.0

08 Mar 16:28
Compare
Choose a tag to compare

This release adds the development bundles feature. You can learn more about the development bundle feature in the Steal 1.3.0 release notes.

Issues

1.2.0-pre.0

22 Feb 18:51
Compare
Choose a tag to compare
1.2.0-pre.0 Pre-release
Pre-release

This is a pre release with the initial implementation of development bundles support

1.1.1

27 Jan 14:19
Compare
Choose a tag to compare

This is a patch release fixing a bug with stealTools.build default minify value.

Bugs

1.1.0

25 Jan 17:34
Compare
Choose a tag to compare

This release adds support for minifying JavaScript files with a custom function (see #589).