# react-app-rewire-inline-source-plugin

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

Latest version **0.1.0** (published 2019-10-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-app-rewire-inline-source-plugin
pnpm add react-app-rewire-inline-source-plugin
yarn add react-app-rewire-inline-source-plugin
bun add react-app-rewire-inline-source-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-10-01 |
| First published | 2019-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ningpu |
| Maintainers | ninpudan |
| Keywords | react-app-rewire, html-webpack-inline-source-plugin |

## Links

- npm: https://www.npmjs.com/package/react-app-rewire-inline-source-plugin
- Repository: https://github.com/ninpu/react-app-rewire-inline-source
- Homepage: https://github.com/ninpu/react-app-rewire-inline-source#readme
- Issues: https://github.com/ninpu/react-app-rewire-inline-source/issues
- npm.io page: https://npm.io/package/react-app-rewire-inline-source-plugin

## Dependencies (1)

- [html-webpack-inline-source-plugin](https://npm.io/package/html-webpack-inline-source-plugin.md) ^1.0.0-beta.2

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2019-10-01

## README

# react-app-rewire-inline-source-plugin

Enable source code inlining capabilities in a [react-app-rewired](https://github.com/timarney/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.



```js
/* config-overrides.js */
const rewireInlinSource = require('react-app-rewire-inline-source-plugin')
module.exports = function override (config, env) {
    config = rewireInlinSource(config);
    return config;
}

/* or with customize-cra */
function addRewireInlinSource() {
    return (config, env) => {
        config = rewireInlinSource(config);
        return config;
    }
}
```

---
_Source: https://npm.io/package/react-app-rewire-inline-source-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
