Skip to content

why the source has changed, but the hash no change? #257

Open
@nieyt

Description

@nieyt

I have changed the source css code, and rebuild the task, but the hashed css name is the same as before.here is the code.

gulp.task('style', () => {
  var processors = [
    pxtoviewport({
        viewportWidth: 750,
        viewportUnit: 'vmin'
    })
  ];
  return gulp.src(['./h5-cover/style/**/*.css', './h5-cover/style/*.less'])
      .pipe(less())
      .pipe(postcss(processors))
      .pipe(concat({path: 'index.min.css', cwd: ''}))
      .pipe(minifyCss())
      .pipe(rev())
      .pipe(gulp.dest('./resource/css/'))
      .pipe(rev.manifest())        
      .pipe(gulp.dest('./resource/rev/'));
});

Both are the same name :
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions