2.2.5 • Published 4 years ago

@gabeklein/webpack-react-app v2.2.5

Weekly downloads
38
License
-
Repository
github
Last release
4 years ago

About

This exports the standard webpack configuration for React deployments.

Installation

npm install @gabeklein/webpack-react-app

Usage

webpack.config.js

const config = require("@gabeklein/webpack-react-app");

module.exports = config({ title: "My Website" })

<br/>

## Arguments

<br/>

- `title` - Title of HTML webpage by default.
- `dir` - Working directory (optional)
- `mode` - Webpack mode - `"development" | "production"`

<br/>

<h4 align="center"><a href="https://github.com/gabeklein">@gabeklein</a></h4>

<br/><br/>