From f2b81ed0e2d2a47438728911ad97f0ab1a3766c8 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Tue, 2 Jul 2019 18:05:52 -0400 Subject: [PATCH] Add module path for tree-shaking' --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 9dee8b4..0909af5 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "license": "MIT", "repository": "https://github.com/DAB0mB/graphql-tag-pluck.git", "main": "build/graphql-tag-pluck.js", + "module": "src/index.js", + "typings": "index.d.ts", + "sideEffects": false, "scripts": { "build": "webpack --config webpack_config.js", "test": "npm run build && jest --forceExit && yarn bundlesize",