diff --git a/README.md b/README.md index da8e10c..d0a5116 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,27 @@ isEmpty(10) // => false isEmpty('') // => true ``` +### Load on demand + +```bash +$ npm i @babel/env babel-plugin-import -D +``` + +```json +{ + "presets": [ + ["@babel/env", { "modules": false }] + ], + "plugins": [ + ["import", { + "libraryName": "sewing", + "libraryDirectory": "dist", + "style": false + }] + ] +} +``` + ### Development ```bash