@gabeklein/webpack-react-app
v2.2.5
Published
Standard webpack.config for React deploys.
Downloads
3
Readme
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"
})
Arguments
title
- Title of HTML webpage by default.dir
- Working directory (optional)mode
- Webpack mode -"development" | "production"