+3
-3
| { | ||
| "name": "tree-shake", | ||
| "version": "1.0.1", | ||
| "description": "Test tree-shakeability", | ||
| "version": "1.0.2", | ||
| "description": "Test if a package is 100% tree-shakeable", | ||
| "main": "main.js", | ||
| "files": [ | ||
| "treeShake.js", | ||
| "dist" | ||
| "main.js" | ||
| ], | ||
@@ -10,0 +10,0 @@ "bin": { |
+1
-1
@@ -11,3 +11,3 @@ # Tree-shake | ||
| Simply run `npx treeshake` in your project root. Make sure you have your entry point defined in `package.json` under either `"module"` or `"main"`. | ||
| Simply run `npx treeshake` in your project root. **Make sure** you have your entry point defined in `package.json` under either `"module"` or `"main"`. | ||
@@ -14,0 +14,0 @@ Upon running, you'll get notification whether your code is 100% tree-shakeable or not. If not, it will tell which file(s) are causing/ affected by side-effects and the codes that caused it. |
5274
0.48%