diff --git a/packages/async-queue/package.json b/packages/async-queue/package.json index 9c6d28a6db..de66888c61 100644 --- a/packages/async-queue/package.json +++ b/packages/async-queue/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/async-queue", diff --git a/packages/bitfield/package.json b/packages/bitfield/package.json index e729f521a5..9f24c3d92e 100644 --- a/packages/bitfield/package.json +++ b/packages/bitfield/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/bitfield", diff --git a/packages/cron/package.json b/packages/cron/package.json index 2fb921b5c4..4b28c40092 100644 --- a/packages/cron/package.json +++ b/packages/cron/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/cron", diff --git a/packages/discord-utilities/package.json b/packages/discord-utilities/package.json index c9069ce0f8..ec592149c0 100644 --- a/packages/discord-utilities/package.json +++ b/packages/discord-utilities/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/discord-utilities", diff --git a/packages/duration/package.json b/packages/duration/package.json index 8f2c034940..d0c5db044e 100644 --- a/packages/duration/package.json +++ b/packages/duration/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/duration", diff --git a/packages/fetch/package.json b/packages/fetch/package.json index 41895ee1df..de50dbfd63 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/fetch", diff --git a/packages/iterator-utilities/package.json b/packages/iterator-utilities/package.json index 7f16112c63..0ad80db92a 100644 --- a/packages/iterator-utilities/package.json +++ b/packages/iterator-utilities/package.json @@ -65,6 +65,7 @@ }, "exports": { ".": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -72,8 +73,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "./all": { "import": { diff --git a/packages/lexure/package.json b/packages/lexure/package.json index ec75696f56..49a83c5ea6 100644 --- a/packages/lexure/package.json +++ b/packages/lexure/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/lexure", diff --git a/packages/ratelimits/package.json b/packages/ratelimits/package.json index d3fba83dc9..683b398e66 100644 --- a/packages/ratelimits/package.json +++ b/packages/ratelimits/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/ratelimits", diff --git a/packages/result/package.json b/packages/result/package.json index 0f156bbeab..b1fedc7296 100644 --- a/packages/result/package.json +++ b/packages/result/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/result", diff --git a/packages/snowflake/package.json b/packages/snowflake/package.json index c94d78f080..82d40a3308 100644 --- a/packages/snowflake/package.json +++ b/packages/snowflake/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/snowflake", diff --git a/packages/stopwatch/package.json b/packages/stopwatch/package.json index dfe56753ab..3cc822cbfb 100644 --- a/packages/stopwatch/package.json +++ b/packages/stopwatch/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/stopwatch", diff --git a/packages/string-store/package.json b/packages/string-store/package.json index 6363821eed..4ef39240ab 100644 --- a/packages/string-store/package.json +++ b/packages/string-store/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/string-store", diff --git a/packages/time-utilities/package.json b/packages/time-utilities/package.json index 6e30aeef33..46dbc32052 100644 --- a/packages/time-utilities/package.json +++ b/packages/time-utilities/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/time-utilities", diff --git a/packages/timer-manager/package.json b/packages/timer-manager/package.json index fff224601b..6dfaad8ec8 100644 --- a/packages/timer-manager/package.json +++ b/packages/timer-manager/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/timer-manager", diff --git a/packages/timestamp/package.json b/packages/timestamp/package.json index 5b970831ef..ff396632a6 100644 --- a/packages/timestamp/package.json +++ b/packages/timestamp/package.json @@ -10,6 +10,7 @@ "unpkg": "dist/iife/index.global.js", "types": "dist/cjs/index.d.cts", "exports": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -17,8 +18,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "sideEffects": false, "homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/timestamp", diff --git a/packages/utilities/package.json b/packages/utilities/package.json index a6aff72ef4..5b62b7ecd9 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -68,6 +68,7 @@ }, "exports": { ".": { + "browser": "./dist/iife/index.global.js", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -75,8 +76,7 @@ "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" - }, - "browser": "./dist/iife/index.global.js" + } }, "./arrayStrictEquals": { "import": { diff --git a/scripts/subpath-updater.cts b/scripts/subpath-updater.cts index c42618b36c..a03dbc31b4 100644 --- a/scripts/subpath-updater.cts +++ b/scripts/subpath-updater.cts @@ -26,6 +26,7 @@ async function main() { [ '.', { + browser: './dist/iife/index.global.js', import: { types: './dist/esm/index.d.mts', default: './dist/esm/index.mjs' @@ -33,8 +34,7 @@ async function main() { require: { types: './dist/cjs/index.d.cts', default: './dist/cjs/index.cjs' - }, - browser: './dist/iife/index.global.js' + } } ] ]);