1

I tried to build the angular application in production with the chunk name as the module name.

In angular 7 i have set namedChunks: true which build the projects with named chunks like below image

enter image description here

I tried the same in angular 9 but instead of the named chunks i am getting the chunk files like below image

enter image description here

1 Answer 1

3

Specify --outputHashing=none in your ng build --prod command. Also make sure that --namedChunks=true.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.