From b901da47c3a6e1963e9f30b9ebdf7c88680328c1 Mon Sep 17 00:00:00 2001 From: Surya Teja K Date: Sun, 3 Jan 2021 16:13:20 +0530 Subject: [PATCH] fix: enable sourcemap in rollup config --- rollup-uglify.conf.js | 3 ++- rollup.conf.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rollup-uglify.conf.js b/rollup-uglify.conf.js index 1a2e1d2ae..2493cd6ec 100644 --- a/rollup-uglify.conf.js +++ b/rollup-uglify.conf.js @@ -10,7 +10,8 @@ export default { '@angular/platform-browser': 'ng.platform-browser', '@angular/common': 'ng.common' }, - name: 'angular.datatables' + name: 'angular.datatables', + sourcemap: true }, external: [ '@angular/core', diff --git a/rollup.conf.js b/rollup.conf.js index 4290cb1b5..8f0bbde59 100644 --- a/rollup.conf.js +++ b/rollup.conf.js @@ -9,7 +9,8 @@ export default { '@angular/common': 'ng.common', 'jquery': '$' }, - format: 'umd' + format: 'umd', + sourcemap: true }, external: [ '@angular/core',