Skip to content

Releases: scriptex/webpack-mpa-next

Remove "Optisize"

06 Feb 08:50
fabfdef
Compare
Choose a tag to compare

BREAKING: This release removes the ability to optimize images via @three11/optisize. All NPM scripts related to this functionality have been removed. This might introduce breaking changes in CI/CD environments.

Update the SVG generator

07 Nov 07:38
Compare
Choose a tag to compare

This release switches from SVGO + spritesh to svg-symbol-sprite

Fix usage of "url" and "server" CLI arguments

01 Dec 13:24
2655f6d
Compare
Choose a tag to compare

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

24 Oct 11:13
17bc491
Compare
Choose a tag to compare

This release updates Stylelint and all of its related plugins and extensions.

Extended linting

10 Aug 07:59
18d5eba
Compare
Choose a tag to compare

This release:

  1. Extends the linting by adding
  • eslint-plugin-compat
  • stylelint-no-unsupported-browser-features
  1. Upgrades all dependencies to their latest versions

Updated SVG sprite

01 Jun 12:06
09f31ee
Compare
Choose a tag to compare

This release

  1. Updates the way SVG sprite is being generated by extracting the config in a separate svgo.config.js file and using SVGO v2.
  2. Installs the missing browserslist peer dependency.

Fix issue with path being undefined on Windows

10 Mar 13:40
Compare
Choose a tag to compare

This release fixes #350 - the process.env.PWD is undefined on Windows. It has been replaced with process.cwd()

Upgrade Webpack to v.5

08 Mar 11:00
Compare
Choose a tag to compare

This release updates Webpack to the latest version and also updates all other dependencies (including all Webpack plugins).

Fix CSS HMR and Critical CSS

07 Jan 14:50
3ddbecf
Compare
Choose a tag to compare

This release fixes the HMR (hot module replacement) for CSS files.
This release also introduces a new approach for generating critical CSS.

Fix assets management, use webpack externals

03 Nov 09:21
Compare
Choose a tag to compare

This release fixes an issue with clean-webpack-plugin where the 3rd party assets (fonts, images, etc) were not correctly copied in the dist folder.
This release also improves the usage of browser globals in JS modules by extending the Webpack configuration to also include externals setting.
All dependencies have been updated to their latest versions.