chore: add webpack example for tree-shaking

This commit is contained in:
unix
2020-05-16 01:34:07 +08:00
parent a3970d4e18
commit 0bdc783c97
9 changed files with 5682 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
## Tree shaking for webpack
### About
If you use `webpack` and `babel` to build your Recat project, this example may be useful for you.
### Previews
**Before:**
![before](esm-1.png)
<br />
**After:**
![after](esm-2.png)