fx 30.0.1 → 30.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -577,8 +577,9 @@ function stringify(value, isPretty = false) {
|
|
|
577
577
|
|
|
578
578
|
async function importFxrc(path) {
|
|
579
579
|
const {join} = await import('node:path')
|
|
580
|
+
const {pathToFileURL} = await import('node:url')
|
|
580
581
|
try {
|
|
581
|
-
await import(join(path, '.fxrc.js'))
|
|
582
|
+
await import(pathToFileURL(join(path, '.fxrc.js')))
|
|
582
583
|
} catch (err) {
|
|
583
584
|
if (err.code !== 'ERR_MODULE_NOT_FOUND') throw err
|
|
584
585
|
}
|