Aurelia.Dialog. Can not resolve "moduleId"


#1

For some reason the aurelia.dialog is not working in webpack only when build --env production. It works fine when run --watch. Error: Unhandled rejection Error: Can not resolve “moduleId”.

I have declare .plugin(PLATFORM.moduleName(‘aurelia-dialog’)) in main.ts.

Any help will be appreciated.