mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 11:35:28 +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);
|
||||
|
||||
// need to fudge the mtime, because webpack is soft in the head
|
||||
const stats = fs.statSync(file);
|
||||
const { atime, mtime } = statSync(file);
|
||||
const { atime, mtime } = fs.statSync(file);
|
||||
fs.utimesSync(file, atime.getTime() - 999999, mtime.getTime() - 999999);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user