Skip to content

Latest commit

 

History

History

peggy-loader

Rocket.Chat

@rocket.chat/peggy-loader

Peggy loader for webpack


npm@latest npm@next npm downloads License: MIT

deps npm bundle size

Install

Firstly, install the peer dependencies (prerequisites):

npm i peggy webpack

# or, if you are using yarn:

yarn add peggy webpack

Add @rocket.chat/peggy-loader as a dependency:

npm i @rocket.chat/peggy-loader

# or, if you are using yarn:

yarn add @rocket.chat/peggy-loader

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues.

Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

yarn build

Linting

To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:

yarn lint

Some linter warnings and errors can be automatically fixed:

yarn lint-and-fix