Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are being corrupted #4

Open
Darksoulsong opened this issue Aug 15, 2016 · 0 comments
Open

Images are being corrupted #4

Darksoulsong opened this issue Aug 15, 2016 · 0 comments

Comments

@Darksoulsong
Copy link

Images are being corrupted in the creation of the manifest file.
Node version: 0.12.7
NPM version: 2.11.3
Grunt version: 0.4.5

My manifestGenerator config:

    manifestGenerator: {
      dist: {
        options:{
          //is cache all the html files in source files
          //{Boolean}
          //default:true
          includeHTML:true,
          //is cache all the images tags or inline style with background-images in the  html files in source files
          //{Boolean}
          //default:true
          includeHtmlImage:true,
          //is cache all the style files imported by the html
          //{Boolean}
          //default:true
          includeCSS:true,
          //is cache all the background-images in the css contents, which were used by the  html files
          //{Boolean}
          //default:true
          includeCssImage:true,
          //is cache all the js files in the html files
          //{Boolean} 
          //default:true
          includeJS:true,
          //all the files above but the fllowwing files.
          //{Array} the item could be writen as regexpress.
          //default:[]
          excludeFiles:['/\.png$/', '/\.svg$/', '/\.jpeg$/', '/\.jpg$/', '/\.gif$/']
        },
        files: { 
          //the task will scan all the source files, and generate 'dist.manifest' file as the cache setting. 
          '<%= yeoman.app %>/manifest.appcache': [
            '<%= yeoman.app %>/**/*.html',            
            '<%= yeoman.app %>/styles/**/*.*',
            '<%= yeoman.app %>/scripts/**/*.*'
          ]
        }
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant