From b2305f76cad48ed2afc25e70efbdb441608b6650 Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Wed, 26 Mar 2025 19:50:58 +0100 Subject: [PATCH] feat: declare package as side-effect free This enables bundlers like webpack to perform better tree-shaking. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 4df34724..889b0e75 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Validate XML, Parse XML, Build XML without C/C++ based libraries", "main": "./lib/fxp.cjs", "type": "module", + "sideEffects": false, "module": "./src/fxp.js", "types": "./src/fxp.d.ts", "exports": {