⚠ BREAKING CHANGES
- Support for
node-sass
has been removed. sass will be used by default to compile SASS and SCSS files. - TypeScript versions prior to 4.4 are no longer supported.
- Compilation of libraries using VIew Engine is no longer supported.
- We no longer generate UMD bundles. The below options which were used for UMD bundle generation has also been removed;
umdModuleIds
amdId
umdId
Features
- add package exports for node and es2015 (bd986f6)
- add support for package.json exports (047e3ca)
- drop support for node-sass (34d805d)
- emit Javascript files with
.mjs
extension (95166f3) - support TypeScript to 4.4 (40f7316)
- update
tslib
peerDependencies to^2.3.0
(12dc21e) - add package exports for node and es2015 (bd986f6)
- add support for package.json exports (047e3ca)
- drop support for node-sass (34d805d)
- emit Javascript files with
.mjs
extension (95166f3) - support Node.js version 16 (5c8ce22)
- add esm2020 conditions in APF package exports (ed79b27)
- add es2020 conditional export (e5d4296)
- do not generate UMDs (cc59146), closes #2023 #2000 #1757 #1674
- downlevel es2020 bundle to generate FESM2015 (6cf2514)
- enable Ivy partial compilations by default (46133d9), closes #1087 #382 #285 #317 #355 #656 #917
- replace es2015 with es2020 (9e37a56)
- support specifying stylesheet language for inline component styles (61cd015)
- enable providing cache directory and disabling caching via options (7d6ee38)
Bug Fixes
- error when a finding a conflicting package export (bf3a0b9)
- merge instead of overriding package exports (f238118)
- improve Safari browserslist to esbuild target conversion (23b4776)
- incorrect cache path (2c0121a)
- make cache paths safe for windows (5b58731)
- provide supported browsers to esbuild (4ed2e08)
- set browserslist defaults (8223a47), closes /github.com/browserslist/browserslist/blob/83764ea81ffaa39111c204b02c371afa44a4ff07/index.js#L516-L522
- error when a finding a conflicting package export (bf3a0b9)
- merge instead of overriding package exports (f238118)
- report typescript configuration errors (31b508d)
- don't process tslib with ngcc (925b427)
- replace
node-sass-tilde-importer
with custom sass importer (5cf363b), closes #2125 - display package versions correctly when using the version command (141fd65)
- force less version 3.5 math behaviour (a491faf), closes #2113
- only watch dependent files (5bf477d), closes #1829 #2042 #1723
- remove
@rollup/plugin-commonjs
(0d306a3) - include
esbuild-check
in the dist package (eda7f04) - support WASM-based esbuild optimizer fallback (68b5f0b)
- don't exit with non zero error code on non error compiler diagnostics (0daa33e)
- normalize NGCC tsconfig path (3846b40)