mirror of
https://github.com/zhigang1992/react.git
synced 2026-05-30 09:20:56 +08:00
chore: add webpack example for tree-shaking
This commit is contained in:
17
examples/tree-shaking-webpack/README.md
Normal file
17
examples/tree-shaking-webpack/README.md
Normal 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:**
|
||||
|
||||

|
||||
|
||||
<br />
|
||||
|
||||
**After:**
|
||||
|
||||

|
||||
Reference in New Issue
Block a user