Skip to content

Commit

Permalink
fix project build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed May 20, 2024
1 parent 5e94239 commit 93e9cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/esbuildPlugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import { filesize } from 'filesize'
import MCProtocol from 'minecraft-protocol'
import MCData from 'minecraft-data'
import { throttle } from 'lodash-es'
import { fileURLToPath } from 'url'

const __dirname = dirname(new URL(import.meta.url).pathname)
const __dirname = dirname(fileURLToPath(new URL(import.meta.url)))
const { supportedVersions } = MCProtocol

const prod = process.argv.includes('--prod')
Expand Down

0 comments on commit 93e9cf8

Please sign in to comment.