Your application's end-users have reported intermittent errors. You decide to use source maps to debug the production build of your Angular application. Which of the following considerations is essential when using source maps in production?
- Disable source maps in production for better performance
- Protect the source maps from public access
- Store source maps in the same directory as your production code
- Use unminified code in production
It's crucial to protect source maps from public access in a production environment to prevent exposing sensitive information and source code to potential attackers. Source maps should not be accessible to end-users.
Loading...
Related Quiz
- When content is projected into a child component, the data binding context remains that of the ________ component.
- How do you set default values for controls in a reactive form?
- When ViewEncapsulation.Native is used, the styling is encapsulated using the browser's native ________.
- You are working on an autocomplete feature. As a user types into a search box, you want to delay the API call until the user has stopped typing for a specific duration. Which RxJS operator would you utilize?
- You have a multi-step form in your Angular application. At any step, if the user tries to navigate away without saving, you want to alert them. Which Route Guard will best serve this purpose?