Wednesday, August 25, 2021

'moment-timezone'. CommonJS or AMD dependencies can cause optimization bailouts.

 Solution:

Add this code angular.json

"tsConfig": "tsconfig.app.json",

 "allowedCommonJsDependencies": [  "moment-timezone"],





No comments:

Post a Comment

How to build an Express and Node.js app with Typescript

  In this tutorial, you will learn how to set up a Node.js and Express project with Typescript and live auto-reloading. Note that this metho...