Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
## unreleased

* Updated dependencies, including major updates to `chalk` (v6), `dotenv` (v18), `dotenv-expand` (v1000), `validate-npm-package-name` (v8), `@testing-library/jest-dom` (v7), `less-loader` (v13), `sass-loader` (v17), and `postcss-preset-env` (v11).
* Updated the supported Node.js engines to `^22.15.0 || >=24.0.0`, as `webpack-dev-server` 6 requires Node.js 22.15 or later.

### pack

* Fixed `enact pack` and `enact serve` to type check TypeScript 7 apps by running the `tsc` binary, since TypeScript 7 does not expose the compiler API required by `fork-ts-checker-webpack-plugin`. Apps on TypeScript 5.x and 6.x still use `fork-ts-checker-webpack-plugin`.
* Fixed `enact pack` to exit with code 1 when the build fails, including when `chalk` has not loaded yet.
* Fixed `enact pack --production` failing on Less deprecation notices (for example calling a mixin without parentheses) by disabling `less-loader`'s `lessLogAsWarnOrErr` option, which `less-loader` 13 enables by default.
* Updated the optional `typescript` peer dependency to `^5.4.0 || ^6.0.0 || ^7.0.2`.

### serve

* Fixed `enact serve` printing compilation errors twice.
* Updated `webpack-dev-server` to v6 and `@pmmmwh/react-refresh-webpack-plugin` to `0.6.3` for compatibility.

## 7.3.4 (August 21, 2026)

Expand Down
6 changes: 6 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ module.exports = function (
getStyleLoaders(cssLoaderOptions, {
loader: require.resolve('less-loader'),
options: {
// less-loader 13 defaults `lessLogAsWarnOrErr` to true, which surfaces
// Less deprecation notices (e.g. calling a mixin without parentheses) as
// webpack warnings. Under `pack --production` CI treats warnings as errors,
// so restore the pre-13 silent behavior to avoid breaking builds on
// framework-sourced deprecations outside the app's control.
lessLogAsWarnOrErr: false,
lessOptions: {
modifyVars: Object.assign({__DEV__: !isEnvProduction}, app.accent)
},
Expand Down
Loading
Loading