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" } } }