Sign In

tree-shake

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-shake - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+3
-3
package.json
{
"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": {

@@ -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.