A3 alpha 4: webpack 5, async-friendly "fragments," CSS assets and more #2750
boutell
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is an intermediate release of A3, addressing early feedback. In the next few weeks we'll be moving on with bigger features and bigger announcements.
Breaking changes
vue-loader
, your own project must also be updated to use webpack 5. The a3-boilerplate project has been updated accordingly, so you may refer to the a3-boilerplate project for an example of the changes to be made, notably inwebpack.config.js
andpackage.json
. We are in communication with upstream developers to resolve the issue so that projects and apostrophe core can use different major versions of webpack.Other Changes
ui/public
subdirectory of any module are now bundled and pushed to the browser. This allows you to efficiently deliver your CSS assets, just as you can deliver JS assets inui/public
. Note that these assets must be browser-ready JS and CSS, so it is customary to use your own webpack build to generate them. See the a3-boilerplate project for an example, especiallywebpack.config.js
.render-areas
query parameter in piece and page REST API documentation.bundle
, notmoogBundle
. Thanks to Miro Yovchev.Beta Was this translation helpful? Give feedback.
All reactions