Angular ng build --prod 時報錯的解決方法紀錄
Function calls are not supported in decorators but 'InjectionToken' was called in 'OWL_MOMENT_DATE_TIME_ADAPTER_OPTIONS'
ng build --prod 出現 Function calls are not supported in decorators but 'InjectionToken' was called 時,在 tsconfig.json 的 paths 把 @angular/* 指到專案自己的 node_modules。
完整文章與更新版本已搬到 jakeuj.com:Angular Function calls are not supported in decorators but 'InjectionToken' was called in

本部落格已搬到 jakeuj.com,文章在新站持續更新。