react-app-rewire-inline-source

2.0.0 • Public • Published

react-app-rewire-inline-source

Enable source code inlining capabilities in a react-app-rewired application.

Inlining CSS has the great advantage to reduce the server hits and dramatically improve time to first meaningful paint in your pwa.

/* config-overrides.js */
const rewireInlinSource = require('react-app-rewire-inline-source')

module.exports = function override (config, env) {
    config = rewireInlinSource(config, env)
    return config
}

Package Sidebar

Install

npm i react-app-rewire-inline-source

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

2.19 kB

Total Files

3

Last publish

Collaborators

  • marcopeg