fooman / venia-ui-override-resolver

19 stars 5 forks source link

Resolver does not overwrite pagebuilder components #1

Closed wsfwc92 closed 3 years ago

wsfwc92 commented 3 years ago

Resolver does not update components included in @ magento / pagebuilder package. Only modifications are available: @ magento / peregrine and @ magento / venia-ui. Is there any reason why it has been resolved this way? Is it possible to add this in the future?

fooman commented 3 years ago

Should be possible in the future. You may already be able to achieve this in your project by copying this https://github.com/fooman/venia-ui-override-resolver/blob/master/intercept.js#L17-L47 into your local-intercept.js file with adjusting the paths for pagebuilder.

As to why - so far I personally did not yet have a need for customising pagebuilder.

fooman commented 3 years ago

RC2 now includes the ability to define what should be attempted as an override resolve. Please see https://github.com/fooman/venia-ui-override-resolver#overriding-other-packages