barreler 1.2.1
barreler: ^1.2.1 copied to clipboard
A library for generating barrel files.
example/example.md
Example #
Create a barreler.yaml configuration file in the root of your project. Then run barreler build to generate the barrel files.
Quick Start #
-
Generate an example configuration file:
barreler example -
This creates a
barreler.yamlfile with example settings. Review and customize it for your project. -
Build your barrel files:
barreler build
Watch Mode #
To automatically update barrel files when you add or remove files:
barreler watch
This will watch the configured directories and update barrel files on file create, move, or delete events.
Configuration #
See the README.md for detailed documentation on all configuration options.