From 20a6f15f182eec372202812d3a737ba4616d72d1 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 11 Nov 2022 13:20:42 -0800 Subject: [PATCH] Improvements to NPM package PiperOrigin-RevId: 487901715 --- mediapipe/tasks/web/package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mediapipe/tasks/web/package.json b/mediapipe/tasks/web/package.json index 7726f1cb3..d7d484ca4 100644 --- a/mediapipe/tasks/web/package.json +++ b/mediapipe/tasks/web/package.json @@ -2,16 +2,15 @@ "name": "@mediapipe/tasks-__NAME__", "version": "__VERSION__", "description": "__DESCRIPTION__", - "main": "__NAME__bundle.js", - "module": "__NAME__bundle.js", + "main": "__NAME___bundle.js", + "module": "__NAME___bundle.js", "exports": { - ".": "./__NAME__bundle.js", - "./loader": "./wasm/__NAME__wasm_internal.js", - "./wasm": "./wasm/__NAME__wasm_internal.wasm" + ".": "./__NAME___bundle.js", + "./loader": "./wasm/__NAME___wasm_internal.js", + "./wasm": "./wasm/__NAME___wasm_internal.wasm" }, "author": "mediapipe@google.com", "license": "Apache-2.0", - "type": "module", "dependencies": { "google-protobuf": "^3.21.2" },