Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Ng Build --Prod results in empty small main.js file, website is blank

dojo44 free asked 4 years ago


Expected behavior A website would display Actual behavior Webiste shows blank screen Resources (screenshots, code snippets etc.) The generated main*.js file used to be 2G+ which is it own problem, now it is a mere 2MB. Clearly there is something not properly defined in the build. The system works fine with ng serve locally.


Arkadiusz Idzikowski staff commented 4 years ago

We always test production builds on many projects before release and we didn't encounter similar problem. Please add some more information that will help us to reproduce this issue on our end.

Which version of MDB/Angular do you use? Are there any errors in console? Did you configure your project as explained in our quick start guide?

https://mdbootstrap.com/docs/angular/getting-started/quick-start/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.10.1
  • Device: PC
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No