From 7a914824be9a56c12e8f05d9c779e183c76fee97 Mon Sep 17 00:00:00 2001 From: Daniel Eichhorn Date: Sun, 23 Jun 2024 19:55:35 +0200 Subject: [PATCH] Adjust target for build --- buildDate.json | 3 --- createBuildDate.js | 2 +- src/assets/buildDate.json | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 buildDate.json create mode 100644 src/assets/buildDate.json diff --git a/buildDate.json b/buildDate.json deleted file mode 100644 index 7d3fb00..0000000 --- a/buildDate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "year": "2024-06-23T17:48:55.283Z" -} \ No newline at end of file diff --git a/createBuildDate.js b/createBuildDate.js index 79a9cbf..68ee8da 100644 --- a/createBuildDate.js +++ b/createBuildDate.js @@ -1,7 +1,7 @@ const { writeFileSync } = require('fs') const { join } = require('path') -const TIME_STAMP_PATH = join(__dirname, 'dist/esp-app-market/buildDate.json'); +const TIME_STAMP_PATH = join(__dirname, 'src/assets/buildDate.json'); const createBuildDate = { year: new Date() diff --git a/src/assets/buildDate.json b/src/assets/buildDate.json new file mode 100644 index 0000000..5ffddaf --- /dev/null +++ b/src/assets/buildDate.json @@ -0,0 +1,3 @@ +{ + "year": "test" +} \ No newline at end of file