Skip to content
Snippets Groups Projects
Commit 8b2d2379 authored by Frank Naegler's avatar Frank Naegler Committed by Wouter Wolters
Browse files

[FOLLOWUP][TASK] Remove *.js.map from repository

The generated JS files contain references to its source maps.
Per default these maps should not be generated.
To prevent side effects the target folder is removed before compiling
the JavaScript files.

Resolves: #78407
Releases: master
Change-Id: I1cc25ef71165d3533e29777d585ae170bdc7f8ae
Reviewed-on: https://review.typo3.org/50349


Reviewed-by: default avatarPatricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarStefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: default avatarStefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 5033a15f
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -2,6 +2,7 @@
"compilerOptions": {
"target": "es5",
"module": "amd",
"sourceMap": false,
"removeComments": false,
"pretty": true,
"baseUrl": ".",
......
......@@ -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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment