Skip to main content

@leanjs/webpack-react

Installation

yarn add -D @leanjs/webpack-react

It exports a default Webpack config for React that you can use directly or extend.

Usage

const { createReactWebpackConfig } = require("@leanjs/webpack-react");

const config = createReactWebpackConfig();