From 5b130dd8768f827217626188000c49de1793374d Mon Sep 17 00:00:00 2001 From: yuri Date: Wed, 20 Feb 2019 13:04:54 +0200 Subject: [PATCH] source map --- Gruntfile.js | 1 + diff.js | 1 + 2 files changed, 2 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 14d526bf1b..f7b2309b6d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -138,6 +138,7 @@ module.exports = function (grunt) { uglify: { options: { mangle: false, + sourceMap: true, banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n', }, 'build/tmp/client/espo.min.js': jsFilesToMinify.map(function (item) { diff --git a/diff.js b/diff.js index 46829c0d16..00fa27c08d 100644 --- a/diff.js +++ b/diff.js @@ -88,6 +88,7 @@ execute('git diff --name-only ' + versionFrom, function (stdout) { }); fileList.push('client/espo.min.js'); + fileList.push('client/espo.min.js.map'); fs.readdirSync('client/css/espo/').forEach(function (file) { fileList.push('client/css/espo/' + file);