Skip to content
Snippets Groups Projects
Commit b063251e authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

MAJ webpack

parent c81ff2ac
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,10 @@ Encore ...@@ -35,6 +35,10 @@ Encore
// but, you probably want this, unless you're building a single-page app // but, you probably want this, unless you're building a single-page app
.enableSingleRuntimeChunk() .enableSingleRuntimeChunk()
.cleanupOutputBeforeBuild()
.enableSourceMaps(!Encore.isProduction())
/* /*
* FEATURE CONFIG * FEATURE CONFIG
* *
...@@ -62,7 +66,7 @@ Encore ...@@ -62,7 +66,7 @@ Encore
// uncomment to get integrity="..." attributes on your script & link tags // uncomment to get integrity="..." attributes on your script & link tags
// requires WebpackEncoreBundle 1.4 or higher // requires WebpackEncoreBundle 1.4 or higher
//.enableIntegrityHashes(Encore.isProduction()) .enableIntegrityHashes(Encore.isProduction())
// uncomment if you're having problems with a jQuery plugin // uncomment if you're having problems with a jQuery plugin
.autoProvidejQuery() .autoProvidejQuery()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment