Is there a way to specify a different build script on CI?

When I run Wonderland as CLI, is there any way to specify how to build the project? When running everything when developing Wonderland uses my buildDev npm script, but when it is run in my GitHub Action I want my BuildProd to run, since I don’t need sourcemaps etc and eventually want to customize this build even further.

1 Like

There is currently no way to override that properly, no
You could have the github action delete the unneeded file(s) (.map?) and then run BuildProd after the packaging step.

Thanks. I’ll try to implement something like that.

1 Like