Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix source maps being generated by default in dev #697

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Feb 13, 2020

When config.devtool is not set (which is the current behavior with enableSourceMaps(false) or when the function is not called at all) the eval source maps type is used in development mode.

This PR sets the default value to false to make sure that no source map is being generated in those cases (fixes #695).

@weaverryan
Copy link
Member

Thank you @Lyrkan!

@weaverryan weaverryan merged commit 5091168 into symfony:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of eval and Content Security Policy
2 participants