Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thangngoc89/wp-tree-shaking
https://github.com/thangngoc89/wp-tree-shaking
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thangngoc89/wp-tree-shaking
- Owner: thangngoc89
- License: mit
- Created: 2018-02-25T18:51:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-25T21:02:05.000Z (almost 7 years ago)
- Last Synced: 2024-11-18T17:39:32.243Z (2 months ago)
- Language: OCaml
- Size: 131 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Build command
* `npm run base-line` base line ~ 9.07KB
* `npm run bs` files generated by Bucklescript. ~16.7KB---
Explanation for files inside `src/`
* `*.re` source files.
* `DateFns.js` generated binding by Bucklescript. I tried everything to trimmed down this file.
This file contains funcitons with no side effects.* `bs.js` this uses `DateFns.js` with only 1 function: `format`
* `base-line.js` hand written code that does the same thing with `bs.js`
This is the version I imagine webpack could tree-shaking to.