From 4dfe59b576e5a67597fa7a95934fa9f123f62e1b Mon Sep 17 00:00:00 2001 From: harkue Date: Sat, 16 Nov 2019 14:37:04 +0800 Subject: [PATCH] [misc] Add `sourceMap` when uglifying --- Gruntfile.js | 1 + Moment.js.nuspec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 05147e985..8e6003db0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -109,6 +109,7 @@ module.exports = function (grunt) { } }, options: { + sourceMap: true, mangle: true, compress: { dead_code: false // jshint ignore:line diff --git a/Moment.js.nuspec b/Moment.js.nuspec index ee892282b..0671df9e8 100644 --- a/Moment.js.nuspec +++ b/Moment.js.nuspec @@ -23,7 +23,10 @@ + + + -- 2.47.2