Difference Between Ng Build And Npm Run Build #13560 - GitHub

Có thể bạn quan tâm

Skip to content Dismiss alert {{ message }} / angular-cli Public
  • Notifications You must be signed in to change notification settings
  • Fork 11.9k
  • Star 27k
  • Code
  • Issues 263
  • Pull requests 28
  • Actions
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options Difference between ng build and npm run build #13560New issueNew issueClosedClosedDifference between ng build and npm run build#13560@mdufoud1214

Description

@mdufoud1214mdufoud1214opened on Jan 31, 2019

am using angular 7 and server side using .net core 2.1 if i do npm run build --prod --aot my dist folder size is around 40mb and my application working as expected, but if i do ng build --prod --aot my dist folder size is reducing to around 9mb but am not able to run applications some map files are missing getting 404 error(find below screenshot)

i want reduce my bundle size to improve my angular app performance

image

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Từ khóa » Ng Vs Npm Run