Simplify source maps configuration

This commit is contained in:
Jonathan Reinink 2019-04-22 11:25:49 -04:00
parent aa3ec42b85
commit 732a62e048
1 changed files with 1 additions and 8 deletions

9
webpack.mix.js vendored
View File

@ -15,14 +15,6 @@ const tailwindcss = require('tailwindcss')
|
*/
// Provide inline source maps.
if ( ! mix.inProduction()) {
mix.webpackConfig({
devtool: 'inline-source-map',
})
.sourceMaps()
}
mix.js('resources/js/app.js', 'public/js')
.postCss('resources/css/app.css', 'public/css', [
cssImport(),
@ -39,3 +31,4 @@ mix.js('resources/js/app.js', 'public/js')
},
})
.version()
.sourceMaps()