@tiaanduplessis/react-app-rewire-preload-plugin
Add preload-webpack-plugin your react-app-rewired configuration
Table of Contents
Usage
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 and npm.
$ npm install @tiaanduplessis/react-app-rewire-preload-plugin
$ # OR
$ yarn add @tiaanduplessis/react-app-rewire-preload-plugin
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT