Skip to content

2.0.0

Compare
Choose a tag to compare
@matthewp matthewp released this 19 Jul 19:04
· 94 commits to master since this release

This is the second major release of steal-tools 2.0.0. When upgrading be sure to also get steal 2.0.0. See the migration guide and upgrade today.

Major features

Tree shaking

In steal-tools 2.0.0 unused exports (and unused modules) are tree shaken away. You don't need to do anything to get this behavior. In the chance that your code doesn't work well with tree shaking, you can disable it through a build option:

stealTools.build({}, {
  treeShaking: false
});

The migration guide explains these choices.

Envify on by default

In steal 1.x you could enable envify, which replaces usage of process.env with the current environment variables. In 2.0 this behavior is on by default.