diff --git a/package.json b/package.json index 5c79b77a1ab..c1f54fd11e8 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "./build/*": "./build/*", "./scripts/*": "./scripts/*" }, - "sideEffects": false, + "sideEffects": ["./build/playcanvas/src/deprecated/deprecated.js"], "type": "module", "bugs": { "url": "https://github.com/playcanvas/engine/issues"