Options
All
  • Public
  • Public/Protected
  • All
Menu

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

EXAMPLE

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.

Config

GruntFile.js
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']);
};

Grunt File Options

Generated using TypeDoc