Skip to content

Releases: aem-design/npm-compose-webpack

v2.4.0

21 Jan 05:13
v2.4.0
8c986fe
Compare
Choose a tag to compare

🚀 Features

  • Added --eslintFix and --stylelintFix CLI flags
  • Added support for aem.port in addition to crx.port for pom.xml configurations

v3.0.0-beta.11

08 Nov 09:07
v3.0.0-beta.11
1ba66fd
Compare
Choose a tag to compare
v3.0.0-beta.11 Pre-release
Pre-release

🐛 Bug Fixes

  • Rolled eslint-webpack-plugin back to 2.1.0 to fix build errors

v3.0.0-beta.10

08 Nov 06:45
v3.0.0-beta.10
05913d6
Compare
Choose a tag to compare
v3.0.0-beta.10 Pre-release
Pre-release

🐛 Bug Fixes

  • Fixed the aemdesign-compose executable, it contained Windows line endings 🤔

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases

v3.0.0-beta.9

03 Nov 10:59
Compare
Choose a tag to compare
v3.0.0-beta.9 Pre-release
Pre-release

💥 Breaking Changes

  • Node.js 12 is now the minimum support version

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases

v3.0.0-beta.8

27 Oct 13:20
v3.0.0-beta.8
4ef651d
Compare
Choose a tag to compare
v3.0.0-beta.8 Pre-release
Pre-release

🚀 Features

  • Added Vue 3 support
  • Features can now have custom options for more refined configuration

💥 Breaking Changes

  • Updated the features configuration value to an object rather than an array

🐛 Bug Fixes

  • Added missing webpack HMR plugin when hmr flag was set

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases

Features configuration

The features configuration structure has changed from an array to an object of key/value pairs which enables more refined control. Vue is currently only taking advantage of this but others will follow suit in future updates when it becomes a need for them too. Using Vue as our example, the new structure looks like the below.

module.exports = {
  features: {
    vue: {
      version: 3,
    },
  },
}

You can find all the supported configuration options at the following link: https://github.com/aem-design/npm-compose-webpack/blob/develop/src/types/feature.ts#L28-L81.

For features that don't support options, you can configure them using a boolean value which is a toggle for enabled/disabled or pass an empty object.

module.exports = {
  features: {
    bootstrap: false,
    typescript: true,
    vue: {},
  },
}

v3.0.0-beta.7

11 Oct 09:55
b734b76
Compare
Choose a tag to compare
v3.0.0-beta.7 Pre-release
Pre-release

🐛 Bug Fixes

  • Regenerated yarn.lock to fix any reference issues
  • Fixed how the package version is loaded to ensure it works in Yarn workspaces

🧰 Maintenance

  • Updated @types/lodash to the latest version

v3.0.0-beta.6

11 Oct 07:43
Compare
Choose a tag to compare
v3.0.0-beta.6 Pre-release
Pre-release

I accidentally published v3.0.0-beta.5 without tagging it as a beta release so we jump from v3.0.0-beta.4 to v3.0.0-beta.6.

🚀 Features

  • Updated to the official release of webpack v5
  • Set the default target for browserslist and web
  • Removed entry from WebpackIgnoredProps due to the new import structure available which allows more control over build outcomes

🐛 Bug Fixes

  • Removed OptimizeCSSAssetsPlugin due to no webpack 5 support
  • Fixed webpack modules resolver for projects using Yarn workspaces
  • Fixed getIfUtilsInstance incorrectly caching itself which cause dev and prod builds to cross over

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases

v3.0.0-beta.4

09 Oct 06:10
v3.0.0-beta.4
af42565
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

🐛 Bug Fixes

  • Fixed built distribution files which were exported into a broken directory structure

v3.0.0-beta.3

09 Oct 04:18
v3.0.0-beta.3
e575ade
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release

🚀 Features

  • Updated to webpack v5.0.0-rc.4

🐛 Bug Fixes

  • Fixed first-class TypeScript support for compose.config.js
  • Fixed built distribution files which were exported into a broken directory structure (fixed in v3.0.0-beta.4)

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases

v3.0.0-beta.2

06 Oct 12:58
f6f20a2
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

🚀 Features

  • Updated to webpack v5.0.0-rc.3

🧰 Maintenance

  • Updated all NPM dependencies to their latest releases