Skip to content

Commit

Permalink
📝 documenting new feature in README
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeldesu committed Mar 19, 2022
1 parent 0e1e567 commit 4b8a4a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ let results = mR.findModule('coolFeature')

let constRes = mR.findConstructor('_internal')
// => Array of fitting constructor/module tuples for the search query

// after moduleRaid has been set up you can now listen for new chunks being loaded
document.addEventListener('moduleraid:webpack-push', (e) => {
// e.detail contains the arguments push() was called with

// your code here...
})
```

For more in-depth documentation around what you can use of moduleRaid, you can visit the **[API Documentation](https://moduleraid.netlify.app/)**!
Expand Down

0 comments on commit 4b8a4a9

Please sign in to comment.