Commit 474593a7 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Gruntfile.js: also place a debug version of JavaScript code into extension.

parent fa5ff135
...@@ -2,6 +2,10 @@ module.exports = function (grunt) { ...@@ -2,6 +2,10 @@ module.exports = function (grunt) {
var typo3_css = 'extension/Resources/Public/Css/'; var typo3_css = 'extension/Resources/Public/Css/';
var typo3_js = 'extension/Resources/Public/JavaScript/'; var typo3_js = 'extension/Resources/Public/JavaScript/';
var typo3_fonts = 'extension/Resources/Public/fonts/'; var typo3_fonts = 'extension/Resources/Public/fonts/';
var js_sources = [
'javascript/src/Helper/*.js',
'javascript/src/*.js'
];
// Project configuration. // Project configuration.
grunt.initConfig({ grunt.initConfig({
...@@ -177,12 +181,13 @@ module.exports = function (grunt) { ...@@ -177,12 +181,13 @@ module.exports = function (grunt) {
] ]
}, },
concat: { concat: {
debug: { debug_standalone: {
src: [ src: js_sources,
'javascript/src/Helper/*.js',
'javascript/src/*.js'
],
dest: 'js/<%= pkg.name %>.debug.js' dest: 'js/<%= pkg.name %>.debug.js'
},
debug_extension: {
src: js_sources,
dest: typo3_js + '<%= pkg.name %>.debug.js'
} }
}, },
less: { less: {
......
Supports Markdown
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