Skip to content

Releases: scriptex/webpack-mpa

Remove "Optisize"

Choose a tag to compare

@scriptex scriptex released this 06 Feb 08:37

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

Choose a tag to compare

@scriptex scriptex released this 07 Nov 07:32

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

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

Choose a tag to compare

@scriptex scriptex released this 01 Dec 13:08
a5a6929

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

Choose a tag to compare

@scriptex scriptex released this 22 Oct 13:10
cd01a35

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

Choose a tag to compare

@scriptex scriptex released this 10 Aug 07:51
9c5a895

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

Choose a tag to compare

@scriptex scriptex released this 01 Jun 11:55
ebc60de

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

Choose a tag to compare

@scriptex scriptex released this 10 Mar 13:34

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

Upgrade Webpack to v.5

Choose a tag to compare

@scriptex scriptex released this 08 Mar 10:46

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

Fix CSS HMR and Critical CSS

Choose a tag to compare

@scriptex scriptex released this 07 Jan 14:59

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

Choose a tag to compare

@scriptex scriptex released this 03 Nov 09:16

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.