1
0
Fork 0

fix (new-design) hopefully a better way of doing paths that works on windows

This commit is contained in:
Enoch Riese 2023-03-12 17:20:28 -05:00
parent 8c04bec9bd
commit c90635234a

View file

@ -15,7 +15,7 @@ let filename
try {
filename = __filename
} catch {
filename = fileURLToPath(import.meta.url)
filename = fileURLToPath(new URL(import.meta.url))
}
const newDesignDir = join(filename, '../..')
const designSrcDir = 'design/src'