From 71f4c7ea5d9783c6bd8e7ec51b284ea4cb30cc45 Mon Sep 17 00:00:00 2001 From: Jeffrey Way Date: Mon, 30 Jan 2017 10:45:29 -0500 Subject: [PATCH] Do not generate source maps for production environments - closes #223 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 73c470b91..ba39b5b21 100644 --- a/src/index.js +++ b/src/index.js @@ -170,7 +170,7 @@ module.exports.minify = (src) => { * Enable sourcemap support. */ module.exports.sourceMaps = () => { - Mix.sourcemaps = (Mix.inProduction ? '#source-map' : '#inline-source-map'); + Mix.sourcemaps = (Mix.inProduction ? false : '#inline-source-map'); return this; };