v3.0.0
Pre-release
Pre-release
3.0.0 (2020-09-08)
Bug Fixes
- moduleresolution: explicitly specify node-style module resolution (7ba7647)
Features
- module: compile to ES6 modules instead of CommonJS (4162349)
BREAKING CHANGES
- node.js < 12 is no longer supported.
- module: TypeScript files are now built as ES Modules. This should help to improve
tree-shaking performance. Consumers should set"type": "module"in theirpackage.json.
CommonJS-style imports such asimport foo = require("foo")should be replaced by ES-style
default imports such asimport foo from "foo".