Skip to content

Commit 5eef774

Browse files
authored
Create build.js
1 parent fe08237 commit 5eef774

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const fs = require('fs');
2+
fs.writeFile('built-time.js', `module.exports = '${new Date()}'`, (err) => {
3+
if (err) throw err;
4+
console.log('Build time file created successfully!');
5+
});

0 commit comments

Comments
 (0)