https://github.com/tiaanduplessis/react-app-rewire-preload-plugin
Add preload-webpack-plugin your react-app-rewired configuration
https://github.com/tiaanduplessis/react-app-rewire-preload-plugin
plugin preload react react-app-rewired
Last synced: 12 days ago
JSON representation
Add preload-webpack-plugin your react-app-rewired configuration
- Host: GitHub
- URL: https://github.com/tiaanduplessis/react-app-rewire-preload-plugin
- Owner: tiaanduplessis
- License: mit
- Created: 2019-08-25T09:07:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T12:54:02.000Z (over 4 years ago)
- Last Synced: 2025-08-08T01:44:19.238Z (11 months ago)
- Topics: plugin, preload, react, react-app-rewired
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# @tiaanduplessis/react-app-rewire-preload-plugin
[](https://npmjs.org/package/@tiaanduplessis/react-app-rewire-preload-plugin)
[](https://npmjs.org/package/@tiaanduplessis/react-app-rewire-preload-plugin)
[](https://github.com/RichardLitt/standard-readme)
[](https://npmjs.org/package/@tiaanduplessis/react-app-rewire-preload-plugin)
[](http://makeapullrequest.com)
> Add [preload-webpack-plugin](https://github.com/GoogleChromeLabs/preload-webpack-plugin) to your [react-app-rewired](https://github.com/timarney/react-app-rewired) configuration
## Table of Contents
- [Usage](#usage)
- [Install](#install)
- [Contribute](#contribute)
- [License](#License)
## Usage
```js
const rewirePreloadPlugin = require('@tiaanduplessis/react-app-rewire-preload-plugin')
module.exports = function override(config, env) {
config = rewirePreloadPlugin(config, env)
return config
}
```
## Install
This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com).
```sh
$ npm install @tiaanduplessis/react-app-rewire-preload-plugin
$ # OR
$ yarn add @tiaanduplessis/react-app-rewire-preload-plugin
```
## Contribute
1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request
## License
MIT