You are browsing the documentation for Symfony 4.2 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.3.
Enabling Source Maps
Enabling Source Maps¶
webpack.config.js file enables sourcemaps in the
1 2 3 4 5 6 7 8
// webpack.config.js // ... Encore // ... .enableSourceMaps(!Encore.isProduction()) ;
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.