Skip to content

Releases: scriptex/webpack-mpa

Remove "Optisize"

06 Feb 08:37
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:32
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:08
a5a6929
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 ITSCSS and Stylelint

22 Oct 13:10
cd01a35
Compare
Choose a tag to compare

This release updates:

  • ITSCSS, which removes the node-sass peer dependency and all of its related security vulnerabilities
  • Stylelint and all of its related plugins and extensions

Extended linting and migrating away from node-sass

10 Aug 07:51
9c5a895
Compare
Choose a tag to compare

This release:

  1. Switches to sass (dart-sass) from node-sass which allows usage of most recent SCSS features.
  2. 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 11:55
ebc60de
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:34
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 10:46
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:59
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:16
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.