v0.7.0
Breaking Changes 🚨
- TSDX will no longer build a UMD bundle by default, you now must specify it using the
--format=umd,esm,cjs
- Renamed
es
format toesm
. So--format=es
->--format=esm
. In addition, the ESM output bundle is now named<packagename>.esm.js
, so update yourpackage.json
module
field accordingly.
{
"name": "formik",
"main":"dist/index.js",
- "module": "dist/formik.es.production.js",
+ "module": "dist/formik.esm.js",
...
}
- ESM builds no longer are environment specific. If you are using env-specific code, you should document that your end users must rely on bundler tools to do variable replacement.
- TSDX is no longer dependent on a specific TypeScript version
Improvements ✨
- Builds will be much faster by default since TSDX no longer builds UMD by default.
- New spiffy ascii art when bootstrapping a new project
- The react example now aliases the profiler build of react-dom so you can more easily do perf analysis and profiling.
Commits
- strip package scope in safePackageName function (#146) 4422366
- No env specific bundle for ESM (#142) 0f9d964
- Don't depend on specific TS version (#147) 830e104
- Merge pull request #145 from quentin-sommer/patch-1 2fb7e05
- Update README.md d837fa3
- use profiler build of react for playground 943648e
- Fix dependecines => dependencies (#131) d75f548
- Merge branch 'master' of github.com:jaredpalmer/tsdx 2134755
- Run prettier on contributing.md 0cd316c
- Remove UMD format from default build outputs (#126) e81f5a6
- Add spiffy ascii art to tsdx create (#129) c7f58a1
- Fix --format=es (#128) 47fb723