Our base webpack configuration at Kozea for React SSR application
yarn add webpackozea
npm i webpackozea
In your webpack config file
import { getBaseConfigClient, getBaseConfigServer } from 'webpackozea'
Use yalc if you want to test your changes locally using a store
Clone the webpackozea repo
git clone git@github.com:Kozea/webpackozea.git
In your local copy of webpackozea
# cd webpack-copy-local
yalc publish
Then in your project
# cd your-project
yalc link webpackozea
Make your changes in your local webpackozea, then push the changes to the store
# cd webpack-copy-local
yalc push
To remove the local webpackozea from your project
# cd your-project
yalc remove webpackozea
To remove all local package from your project
# cd your-project
yalc remove --all
In your project, each time you npm install
, yarn install
or update packages, you have to re-link again
# cd your-project
yalc link webpackozea