Skip to content

Commit

Permalink
Do not generate source maps for production environments - closes #223
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Jan 30, 2017
1 parent bd1d69c commit 71f4c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -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;
};
Expand Down

0 comments on commit 71f4c7e

Please sign in to comment.