Skip to content

Commit

Permalink
wip fix build in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Jun 26, 2023
1 parent 526ba50 commit 9dcbc35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import path from 'path';
import { relative } from './util.js';
import { promises as fs } from 'fs';

console.log('import.meta.url:', import.meta.url)
let pkgPath = relative(import.meta.url, '../package.json');
pkgPath = pkgPath.replace('file://', '');
const pkgString = (await fs.readFile(pkgPath)).toString();
Expand Down

0 comments on commit 9dcbc35

Please sign in to comment.