From 0c1b8b323257a68977d362bc1571836efed9e221 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sun, 29 Oct 2023 23:44:46 +0000 Subject: [PATCH] fix: Converts to ES module syntax --- build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.js b/build.js index 7e9bb7b..1cc2821 100644 --- a/build.js +++ b/build.js @@ -1,6 +1,6 @@ -const { execSync } = require('child_process'); -const { writeFileSync } = require('fs'); -const { join } = require('path'); +import { execSync } from 'child_process'; +import { writeFileSync } from 'fs'; +import { join } from 'path'; const versionFile = join(__dirname, 'public/views/version.html'); const version = execSync('git rev-parse HEAD').toString().trim();