SWC v1.2.204 Release Notes
Release Date: 2022-06-18 // about 2 years ago-
๐ Bug Fixes
(es/helpers) Fix
module
field inpackage.json
of@swc/helpers
(#4978) (5123c20)(es/helpers) Use
.mjs
extension in helper imports (#4979) (9484cf8)๐ (es/parser) Fix binary operator parsed as an instantiation expression (#4992) (36ef3e4)
(es/resolver) Make catch parameter not disturb resolving (#4976) (b3f6f20)
(html/codegen) Handle optional tags (#4986) (41dc0a7)
(html/minifier) Fix removal of comments (#4974) (8e63b0b)
๐ Documentation
- (*) Add more badges (#4982) (cb30ba2)
๐ Features
(es/config) Add
isModule
to.swcrc
(#4993) (e85c0db)(html/codegen) Add option for tag omission of self closing void elements (#4971) (d07ab2c)
(html/minifier) Compress CSS (#4973) (3e6c0f5)
(html/minifier) Add
preserve_comments
option (#4959) (2e52c18)(html/minifier) Add an option to set html5 doctype (#4980) (fb74ace)
(html/minifier) Minify conditional comments (#4975) (713a256)
๐ Performance
- (es/hygiene) Make
hygiene
faster (#4952) (36d960c)
๐จ Refactor
- (es/minifier) Use
Program
instead ofModule
(#4969) (99a474c)
โ Testing
- (html) Remove files which are too large too verify (#4983) (364a34c)