Webpacker: Disable source maps

Posted . Visible to the public.

You can do this per environment, e.g. in config/webpack/test.js:

const environment = require('./environment')
const config = environment.toWebpackConfig()
config.devtool = 'none'
module.exports = config
Profile picture of Henning Koch
Henning Koch
Last edit
Henning Koch
Keywords
sourcemap
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2020-08-19 12:22)