ipx 1.0.0-0 → 1.0.0-1
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/dist/cli.cjs
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import { listen } from 'listhen';
|
|
3
|
-
import { c as createIPX, a as createIPXMiddleware } from './shared/ipx.
|
|
3
|
+
import { c as createIPX, a as createIPXMiddleware } from './shared/ipx.b3753e41.mjs';
|
|
4
4
|
import 'defu';
|
|
5
5
|
import 'image-meta';
|
|
6
6
|
import 'ufo';
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -397,7 +397,7 @@ function createIPX(userOptions) {
|
|
|
397
397
|
maxAge: getEnv("IPX_MAX_AGE", 300),
|
|
398
398
|
sharp: {}
|
|
399
399
|
};
|
|
400
|
-
const options = defu(userOptions, defaults);
|
|
400
|
+
const options = defu.defu(userOptions, defaults);
|
|
401
401
|
options.alias = Object.fromEntries(Object.entries(options.alias).map((e) => [ufo.withLeadingSlash(e[0]), e[1]]));
|
|
402
402
|
const context = {
|
|
403
403
|
sources: {}
|