SWC v1.2.204 Release Notes

Release Date: 2022-06-18 // about 2 years ago
  • ๐Ÿ› Bug Fixes

    • (es/helpers) Fix module field in package.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 of Module (#4969) (99a474c)

    โœ… Testing

    • (html) Remove files which are too large too verify (#4983) (364a34c)