From 39a5362d4d796cb2fffaeeeb609b3a421d2993a3 Mon Sep 17 00:00:00 2001 From: denisx Date: Tue, 3 Dec 2024 13:04:11 +0300 Subject: [PATCH 1/2] Update package.json Add sideEffects: false for better code split Signed-off-by: denisx --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9e86be9..07d2cc4 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "url": "https://github.com/fastify/fast-uri/issues" }, "homepage": "https://github.com/fastify/fast-uri", + "sideEffects": false, "scripts": { "bench": "node benchmark.js", "lint": "standard | snazzy", From d05c1103d0c56356165865a467730b8393f5d532 Mon Sep 17 00:00:00 2001 From: denisx Date: Fri, 6 Dec 2024 15:32:56 +0300 Subject: [PATCH 2/2] Update package.json Second line to bundler Signed-off-by: denisx --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 07d2cc4..6f97dd4 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "url": "https://github.com/fastify/fast-uri/issues" }, "homepage": "https://github.com/fastify/fast-uri", + "module": "./index.js", "sideEffects": false, "scripts": { "bench": "node benchmark.js",