Closed
Description
Hi!
This issue tracks things that we want to get done before releasing a 1.0 of Encore with Webpack 5 support:
- A) Initial Webpack 5 support Update Webpack to v5 (+ other dependencies) #645
- B) Using old watchOptions regexp & removing Node 13 support [Webpack5] Using old watchOptions regexp & removing Node 13 support #878
- C) Collect changes (mostly from Update Webpack to v5 (+ other dependencies) #645) and add them to CHANGELOG Updating images and fonts to use Webpack 5 Asset modules #883
- D) Integrate Asset Modules for images, fonts, etc Updating images and fonts to use Webpack 5 Asset modules #883
- [~]
E) potentially use WebpackManifestPlugin also for entrypoints.jsonWill consider later - F) Check into our
stats
config - should we "hijack" this less and allow for more normal output? - G) add method to enable new persistent caching - [Webpack 5] Adding new enableBuildCache() method for Webpack 5 persistent caching #884
- H) Decide on a backwards-compatibility (BC) promise related to Webpack dependencies (e.g. if we bump
@babel/core
from v7 to v8, does that require a new major version of Encore? OR what if we drop support forsass-loader
v9 (which is a library version that the user controls) - does that require a new major version of Encore? - I) Ideally, make all the tests that rely in hashes more forgiving - don't skip them entirely, but match for "fuzzines" - e.g. that we expect a file matching a pattern (faux example:
main.[alpha length 8].js
). - Updating images and fonts to use Webpack 5 Asset modules #883 - [~]
J) Make a decision aboutwe will keep for now, it works fine, but the warning when installing Encore is annoying :/friendly-errors-webpack-plugin
which appears abandoned Peer Dependency issue with Webpack v5.x geowarin/friendly-errors-webpack-plugin#123 - L) Merge new Stimulus-bridge support updating stimulus-bridge plugin to work with proposed new loader #888
- K) bumping preset-env to version that depends on @babel/plugin-proposal-class-properties #889 - bumped
@babel/preset-env
Metadata
Metadata
Assignees
Labels
No labels