This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
Keep require and import consistent after bundling or transpiling.
## Installation
Just run:
```bash
npm install real-require
```
## Usage
The package provides two drop-ins functions, `realRequire` and `realImport`, which can be used in scenarios where tools like transpilers or bundlers change the native `require` or `await import` calls.
The current `realRequire`functions only handles webpack at the moment, wrapping the `__non_webpack__require__` implementation that webpack provides for the final bundle.
### Example
```js
// After bundling, real-require will be embedded in the bundle