Skip to content

Commit

Permalink
fix: Converts to ES module syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMaSter committed Oct 29, 2023
1 parent 68b2b4e commit 0c1b8b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit 0c1b8b3

Please sign in to comment.