Thank-you for telling me your concern.
I just want to make sure things are clear so that we can address this backlog item properly later down the road.
Is the issue:
The npm run optimize script is not working for you when you use the npm version of WebViewer?
Or is the issue:
You would like a non-interactive script for both the standalone and npm version of WebViewer?
Thanks,
Anthony