Skip to content

Commit beac3f6

Browse files
authored
Enable integrity hashes on production only by default
1 parent 401d23f commit beac3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/webpack-encore-bundle/1.0/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Encore
6161

6262
// uncomment to get integrity="..." attributes on your script & link tags
6363
// requires WebpackEncoreBundle 1.4 or higher
64-
//.enableIntegrityHashes()
64+
//.enableIntegrityHashes(Encore.isProduction())
6565

6666
// uncomment if you're having problems with a jQuery plugin
6767
//.autoProvidejQuery()

0 commit comments

Comments
 (0)