Nevertheless! Party Metaphorically

    @jwalsh/grunt-invalidate-cloudfront

    1.0.4 • Public • Published

    grunt-invalidate-cloudfront

    Sends a invalidation request to Amazon CloudFront.

    Getting Started

    npm install @jwalsh/grunt-invalidate-cloudfront --save-dev

    One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

    grunt.loadNpmTasks('grunt-invalidate-cloudfront');

    The "invalidate_cloudfront" task

    Example

    In your project's Gruntfile, add a section named invalidate_cloudfront to the data object passed into grunt.initConfig().

    grunt.initConfig({
      invalidate_cloudfront: {
        options: {
          distribution: 'XXXXXX'
        },
        production: {
          files: [{
            expand: true,
            cwd: './build/',
            src: ['**/*'],
            filter: 'isFile',
            dest: ''
          }]
        }
      }
    })

    Release History

    • 2013-05-05 - First release

    Builds

    Known Vulnerabilities

    Install

    npm i @jwalsh/grunt-invalidate-cloudfront

    DownloadsWeekly Downloads

    4

    Version

    1.0.4

    License

    none

    Last publish

    Collaborators

    • jwalsh