From 75eae178fdbcd8dd20c31d6a04675fb85a43537b Mon Sep 17 00:00:00 2001 From: Max Liashuk Date: Sun, 25 Apr 2021 10:31:12 +0300 Subject: [PATCH] feat: mark library as free of side effects to improve tree sharking https://webpack.js.org/guides/tree-shaking --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b019c7fe..52045b30 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Socket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)", "main": "dist/vue-socket.io-ext.min.js", "module": "dist/vue-socket.io-ext.esm.js", + "sideEffects": false, "scripts": { "test": "jest", "lint": "eslint scripts src",