size-limit
Advanced tools
Comparing version 11.1.0 to 11.1.1
@@ -6,3 +6,3 @@ import bytes from 'bytes-iec' | ||
import { dirname, isAbsolute, join, relative } from 'node:path' | ||
import { fileURLToPath } from 'node:url' | ||
import { fileURLToPath, pathToFileURL } from 'node:url' | ||
@@ -87,3 +87,4 @@ import { SizeLimitError } from './size-limit-error.js' | ||
const dynamicImport = async filePath => (await import(filePath)).default | ||
const dynamicImport = async filePath => | ||
(await import(pathToFileURL(filePath).href)).default | ||
@@ -90,0 +91,0 @@ const tsLoader = async filePath => { |
{ | ||
"name": "size-limit", | ||
"version": "11.1.0", | ||
"version": "11.1.1", | ||
"description": "CLI tool for Size Limit", | ||
@@ -5,0 +5,0 @@ "type": "module", |
35599
988