From 94e8f8b8d762a73adab614597baa8ab0b253eb7f Mon Sep 17 00:00:00 2001 From: Atterpac <89053530+atterpac@users.noreply.github.com> Date: Sun, 13 Oct 2024 01:06:06 -0600 Subject: [PATCH] [V3 Runtime] Ensure JS package has parity with various node versions (#3821) node runtime parity --- .../runtime/desktop/@wailsio/runtime/package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/v3/internal/runtime/desktop/@wailsio/runtime/package.json b/v3/internal/runtime/desktop/@wailsio/runtime/package.json index a1602cc34..a164c615a 100644 --- a/v3/internal/runtime/desktop/@wailsio/runtime/package.json +++ b/v3/internal/runtime/desktop/@wailsio/runtime/package.json @@ -1,12 +1,18 @@ { "name": "@wailsio/runtime", - "version": "3.0.0-alpha.27", + "type": "module", + "version": "3.0.0-alpha.28", "description": "Wails Runtime", - "main": "src/index.js", - "types": "types/index.d.ts", + "exports": { + ".": { + "types": "./types/index.d.ts", + "require": "./src/index.js", + "import": "./src/index.js" + } + }, "repository": { "type": "git", - "url": "https://github.com/wailsapp/wails.git" + "url": "git+https://github.com/wailsapp/wails.git" }, "scripts": { "prebuild:types": "rimraf ./types",