Skip to content

Commit 3b83e58

Browse files
committed
fix(doc.build/autoprefixer): update mtime for onlyChanged plugin
1 parent 341e6f3 commit 3b83e58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docgen/plugins/autoprefixer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default function sassAutoprefixer(files, metalsmith, done) {
1111
const originalContent = files[file].contents.toString();
1212
const autoprefixedContent = processor.process(originalContent, {syntax}).css;
1313
files[file].contents = new Buffer(autoprefixedContent);
14+
files[file].stats.mtime = (new Date()).toISOString();
1415
});
1516

1617
done();

0 commit comments

Comments
 (0)