diff --git a/package.json b/package.json index 37c7ed0c..586cfc97 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ ], "description": "Tauri Plugin for WebSocket connections", "browser": "webview-dist/index.min.js", - "main": "webview-dist/index.mjs", + "module": "webview-dist/index.mjs", "types": "webview-dist/index.d.ts", "private": "true", "files": [