Releases: stealjs/steal
1.4.1
1.4.1 contains a couple of bug fixes.
Bugs
1.4.0
Babel plugins and presets
This new release allows StealJS to use babel plugins and presets defined in the babelOptions
object.
StealJS uses babel-standalone internally, to use any of the builtin plugins/presets you just need to add them to the babelOptions
object in your package.json:
"steal": {
"babelOptions": {
"plugins": [
"transform-decorators-legacy"
]
}
}
Non builtin plugins/presets are also supported, just make sure you install the npm packages along with adding them to the babelOptions
object.
Check out the StealJS docs to learn more about this new feature.
1.3.1
1.3.0
Development bundles
This release adds a major new feature, development bundles. Development bundles provide a way to create a bundle of your development dependencies (npm packages) so that you don't need to import all of the individual files.
To use development bundles, you need to install [email protected]
and [email protected]
.
You can create a bundle one of 2 ways:
steal-tools bundle --deps
This creates a deps bundle that includes all of your node_modules/
dependencies.
Or:
steal-tools bundle --dev
This creates a dev bundle that includes all of your node_modules/
and your package.json configuration.
To use these bundles you then change your steal script tag to either:
<script src="node_modules/steal/steal" dev-bundle></script>
or
<script src="node_modules/steal/steal" deps-bundle></script>
Issues
1.2.10
This is a bug fix release that makes it possible to load Steal within an Electron app.
Issues
1.2.9
This is a bug fix release that allows child packages to import devDependencies.
When you install a dependency that looks like:
{
"name": "child",
"devDependencies": {
"foo": "1.0.0"
}
}
And this child dependency tries to import its devDependency:
require("foo");
Previously this would fail, because npm does not install a child dependency's devDependencies. However, in some cases foo
might have been installed anyways; because it is installed by another package for example. Now steal will try to resolve the devDependency package.
Issues
1.2.7
1.2.6
1.2.5
This is a bug fix release that helps with live-reload when running on the server.
Bugs
1.2.4
This is a bug fix release, fixing a bug with configuration not being applied during a package.json live-reload.