Releases: scriptex/webpack-mpa-ts
Remove "Optisize"
Update the SVG generator
This release switches from SVGO + spritesh to svg-symbol-sprite
Fix usage of "url" and "server" CLI arguments
Migrating to Webpack 5 seemed to break usage of custom arguments such as --url
or --server
.
Webpack 5 supports the --env
flag which allows passing of custom arguments.
This release takes care of this bug and makes it possible to pass those arguments like this:
yarn start --env server
yarn start --env url=http://your-proxy.local
Update Stylelint
This release updates Stylelint and all of its related plugins and extensions.
Extended linting and migrating away from node-sass
This release:
- Switches to
sass
(dart-sass
) fromnode-sass
which allows usage of most recent SCSS features. - Extends the linting by adding
- eslint-plugin-compat
- stylelint-no-unsupported-browser-features
- Upgrades all dependencies to their latest versions
Switch from tslint to eslint
This release:
- Switches from
tslint
toeslint
- Updates all dependencies to their latest versions
Updated SVG sprite
This release
- Updates the way SVG sprite is being generated by extracting the config in a separate svgo.config.js file and using SVGO v2.
- Installs the missing browserslist peer dependency.
Fix issue with path being undefined on Windows
This release fixes #350 - the process.env.PWD
is undefined on Windows. It has been replaced with process.cwd()
Upgrade Webpack to v.5
This release updates Webpack to the latest version and also updates all other dependencies (including all Webpack plugins).
Fix CSS HMR and Critical CSS
This release fixes the HMR (hot module replacement) for CSS files.
This release also introduces a new approach for generating critical CSS.