Apostrophe 3.17.0: webpack customization, extra bundles, object fields and more #3704
Replies: 2 comments
-
is there an example of how to leverage the webpack customization feature to compile React components? |
Beta Was this translation helpful? Give feedback.
-
Hi @mingfang, this relates to our own webpack build, so if you're using React via ui/src folders in your modules it'll work for you automatically, as long as you have the latest updates from the package.json file in our a3-boilerplate project to prevent nodemon from getting in the way: https://github.com/apostrophecms/a3-boilerplate If you're using React via a separate, custom webpack build, such as one that is set up for However we do have a forthcoming feature to allow any module to contribute customization to the webpack configuration, and this will most likely make it possible to support |
Beta Was this translation helpful? Give feedback.
-
This is a big week for Apostrophe, with three major features rolling out in Apostrophe 3.x:
Major core updates
ui/src
folders without creating a separate Webpack build of your own. For instance, with this feature it's possible to enablejsx
React components, or just add custom loader aliases to pull in imported modules from a nonstandard place.Smaller core updates
There are smaller updates to Apostrophe 3.x as well:
es5: true
option to@apostrophecms/asset
works again. For those who still need to support Internet Explorer 11 for a little bit longer, this is a big deal. Everyone else can leave this flag off. Remember, it's only forui/src
code — not the admin UI, which requires a modern browser.ui/src
orui/apos
when usingnpm link
to develop the module in question. This is an important win for those of us who create new reusable modules with their own frontend dependencies.Enterprise modules
We've also released and updated several of our enterprise modules recently:
@apostrophecms-pro/cypress-tools
makes it easier to perform automated frontend testing of Apostrophe-powered sites and applications. We're now using it to automate tests of Apostrophe 3.x, to ensure stable releases. The module is also available to enterprise customers who want to test their own sites.@apostrophecms-pro/basics
provides professional implementations of multiple-column nested widgets, buttons, cards, footers, hero displays and slideshows.These modules are part of our enterprise offering. For more information, reach out to [email protected].
Apostrophe 2.x
Finally, we haven't forgotten support for Apostrophe 2.x. Apostrophe 2.220.10 fixes a bug relating to pages in the trash, and
apostrophe-forms-google-address-field-widgets
now allows any subfield to be marked as required.Beta Was this translation helpful? Give feedback.
All reactions