Skip to content

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