From 732a62e048d9e18dc02ad99441fefddea1fdc07e Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Mon, 22 Apr 2019 11:25:49 -0400 Subject: [PATCH] Simplify source maps configuration --- webpack.mix.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webpack.mix.js b/webpack.mix.js index d9eb477..9eb7d22 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -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()