diff options
Diffstat (limited to 'date-fns/examples/webpack-4.x/README.md')
-rw-r--r-- | date-fns/examples/webpack-4.x/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/date-fns/examples/webpack-4.x/README.md b/date-fns/examples/webpack-4.x/README.md new file mode 100644 index 0000000..3a88eb1 --- /dev/null +++ b/date-fns/examples/webpack-4.x/README.md @@ -0,0 +1,29 @@ +# Usage with webpack 4.x + +See [example.js], [fp.js], [misc.js] and [minimal.js] for source code examples. + +See [package.json scripts](./package.json) for CLI usage. + +[example.js]: ./example.js +[fp.js]: ./fp.js +[misc.js]: ./misc.js +[minimal.js]: ./minimal.js +[package.json scripts]: ./package.json + +## Build example + +```sh +yarn +yarn build +``` + +See `./dist` for the output. + +## Minimal build size + +You can see the build size stats by running `yarn stats-size`: + +``` +Minimal size: 1.41 kB +Format size: 6.18 kB +``` |