fix (new-design) hopefully a better way of doing paths that works on windows
This commit is contained in:
parent
8c04bec9bd
commit
c90635234a
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue