Boolean value that Overrides any matching options set inline using BUILD_INCLUDE statments.
If true
then any matching inline options will be overriden by gruntfile options;
Othewise, inline options will take priority over gruntfile options.
Default: false
With the configuration below all inline BUILD_INCLUDE statments would have asJsString applied and each BUILD_INCLUE file would be split into lines that are 100 characters wide with extra line breaks removed using breakstring.
module.exports = function (grunt) {
grunt.initConfig({
build_include: {
default: {
options: {
asJsString: true,
breakstring: {
width: 100,
break: 'width',
eol: 'noLnBr'
}
override: true
},
src: './src/maint.ts',
dest: './scratch/ts/main.ts'
}
}
});
grunt.loadNpmTasks('grunt-build-include');
grunt.registerTask('default', ['build_include:default']);
};
Generated using TypeDoc