From 25e79aedb7d44c8ac5b11328838d7bd3e8187060 Mon Sep 17 00:00:00 2001 From: Kevin Scott <151596+thekevinscott@users.noreply.github.com> Date: Thu, 19 Oct 2023 07:37:20 -0400 Subject: [PATCH] Fix package json for legacy --- models/esrgan-legacy/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/models/esrgan-legacy/package.json b/models/esrgan-legacy/package.json index fc7e8730b..62c1358a8 100755 --- a/models/esrgan-legacy/package.json +++ b/models/esrgan-legacy/package.json @@ -39,12 +39,12 @@ "import": "./dist/esm/models/esrgan-legacy/src/div2k/x4/index.js" }, "./psnr-small": { - "umd": "./dist/umd/models/esrgan-legacy/src/div2k/psnr-small/index.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/psnr-small/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/psnr-small/index.js" }, "./gans": { - "umd": "./dist/umd/models/esrgan-legacy/src/div2k/gans/index.min.js", + "umd": "./dist/umd/models/esrgan-legacy/src/gans/index.min.js", "require": "./dist/cjs/models/esrgan-legacy/src/gans/cjs.js", "import": "./dist/esm/models/esrgan-legacy/src/gans/index.js" } @@ -255,16 +255,16 @@ "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/psnr-small/index.js --file ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --name ESRGANLegacyPSNRSmall --format umd" }, "build:umd:uglify:psnr-small": { - "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/psnr-small/index.min.js --compress --mangle --source-map" + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --output ./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js --compress --mangle --source-map" }, "build:umd:gans": { "command": "pnpm build:umd:rollup:gans && pnpm build:umd:uglify:gans" }, "build:umd:rollup:gans": { - "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/gans/index.js --file ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.js --name ESRGANLegacyGANS --format umd" + "command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/gans/index.js --file ./dist/umd/models/esrgan-legacy/src/gans/index.js --name ESRGANLegacyGANS --format umd" }, "build:umd:uglify:gans": { - "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.min.js --compress --mangle --source-map" + "command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/gans/index.js --output ./dist/umd/models/esrgan-legacy/src/gans/index.min.js --compress --mangle --source-map" } } }