mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-20 22:35:09 +00:00
argh copypasta fail
This commit is contained in:
@@ -29,8 +29,7 @@ module.exports = function create_app(src, dest, routes, options) {
|
|||||||
fs.writeFileSync(file, main);
|
fs.writeFileSync(file, main);
|
||||||
|
|
||||||
// need to fudge the mtime, because webpack is soft in the head
|
// need to fudge the mtime, because webpack is soft in the head
|
||||||
const stats = fs.statSync(file);
|
const { atime, mtime } = fs.statSync(file);
|
||||||
const { atime, mtime } = statSync(file);
|
|
||||||
fs.utimesSync(file, atime.getTime() - 999999, mtime.getTime() - 999999);
|
fs.utimesSync(file, atime.getTime() - 999999, mtime.getTime() - 999999);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user