diff --git a/Build/Gruntfile.js b/Build/Gruntfile.js index 2fb315c8e74c92496241e06fa4a4e7ad26c48d2b..2c6febe6bf9d84771e3425872cc68466c8b10a6c 100644 --- a/Build/Gruntfile.js +++ b/Build/Gruntfile.js @@ -387,7 +387,11 @@ module.exports = function(grunt) { * - 2) Compiles all TypeScript files (*.ts) which are located in sysext/<EXTKEY>/Resources/Private/TypeScript/*.ts * - 3) Copy all generated JavaScript and Map files to public folders */ - grunt.registerTask('scripts', ['tslint', 'ts', 'copy:ts_files']); + grunt.registerTask('scripts', ['tslint', 'tsclean', 'ts', 'copy:ts_files']); + + grunt.task.registerTask('tsclean', function() { + grunt.file.delete("JavaScript"); + }); /** * grunt build task diff --git a/Build/tsconfig.json b/Build/tsconfig.json index 2209094af539a006c6d9787b2bae713eb3712424..a990e606a31647ac6a54f7b5a5c5fdfa2fffd4e7 100644 --- a/Build/tsconfig.json +++ b/Build/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "target": "es5", "module": "amd", + "sourceMap": false, "removeComments": false, "pretty": true, "baseUrl": ".", diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ColorPicker.js b/typo3/sysext/backend/Resources/Public/JavaScript/ColorPicker.js index cd1d1e61b4982d5035412ed8a2704d0f59f8c84a..f7abac04c8dbb964f04abeb44b5f88b34941b13e 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ColorPicker.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ColorPicker.js @@ -38,4 +38,3 @@ define(["require", "exports", 'jquery', "TYPO3/CMS/Core/Contrib/jquery.minicolor }()); return new ColorPicker(); }); -//# sourceMappingURL=ColorPicker.js.map \ No newline at end of file