Releases: stealjs/steal-tools
1.4.0
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
Using stealTools.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
1.3.4
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
1.3.2
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
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
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
This is a pre release with the initial implementation of development bundles support