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?
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 (github.com)
CLI root project
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.
Okay, I tried to update build-action.js but getting build error now like below kind of blocked.
triggerUncaughtException(err, true /* fromPromise */);