diff --git a/tms/webpack.config.js b/tms/webpack.config.js
index b98850a776a054577dbd443b53f792e133cb03d4..0efbc33f0f170d490a8651bd796033ff5a90deb1 100644
--- a/tms/webpack.config.js
+++ b/tms/webpack.config.js
@@ -35,6 +35,10 @@ Encore
     // but, you probably want this, unless you're building a single-page app
     .enableSingleRuntimeChunk()
 
+    .cleanupOutputBeforeBuild()
+    .enableSourceMaps(!Encore.isProduction())
+
+
     /*
      * FEATURE CONFIG
      *
@@ -62,7 +66,7 @@ Encore
 
     // uncomment to get integrity="..." attributes on your script & link tags
     // requires WebpackEncoreBundle 1.4 or higher
-    //.enableIntegrityHashes(Encore.isProduction())
+    .enableIntegrityHashes(Encore.isProduction())
 
     // uncomment if you're having problems with a jQuery plugin
     .autoProvidejQuery()