Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.

Custom webpack configure


Level 2



Here is my requirement where am using headless app, post invoking I want to push data to Adobe campaign classic through acc-js-sdk but in this sdk canvas module has been used so when I run aio app deploy/run I am getting below error.


so now in order to support canvas.node file I need to use node-loader but am not able to find webpack.config.js file to update so is there any way I can resolve this?


 @SarahXu  Can you please help?




5 Replies



I found this


Jesse is one of the masterminds behind app builder so I am assuming it works.  I have not tried. 


Level 2

Above link suggests to do post building app but for me its happening while building app itself (aio app deploy/run).



Very good point...

I do not know the answer off hand but one good thing is that its all open source 
adobe/aio-cli-plugin-app: Create, Build and Deploy Cloud Native Applications (


CLI root project 

adobe/aio-cli: Adobe I/O Extensible CLI (


That is a good place to look to figure out how it works and see if there is a way to override. If its not possible to override you could fork the app plugin and make your own version of it that does what you need it to.  Way more work than a simple config overload that is for sure.  


Level 2

Okay, I tried to update build-action.js but getting build error now like below kind of blocked.


triggerUncaughtException(err, true /* fromPromise */);