0.3.5 • Published 5 years ago
@kozea/webpackozea v0.3.5
Webpackozea
Our base webpack configuration at Kozea for React SSR application
Installation
yarn
yarn add webpackozeanpm
npm i webpackozeaUsage
In your webpack config file
import { getBaseConfigClient, getBaseConfigServer } from 'webpackozea'How to use locally
Use yalc if you want to test your changes locally using a store
Publish
Clone the webpackozea repo
git clone git@github.com:Kozea/webpackozea.gitIn your local copy of webpackozea
# cd webpack-copy-local
yalc publishThen in your project
# cd your-project
yalc link webpackozeaUpdate
Make your changes in your local webpackozea, then push the changes to the store
# cd webpack-copy-local
yalc pushRemove
To remove the local webpackozea from your project
# cd your-project
yalc remove webpackozeaTo remove all local package from your project
# cd your-project
yalc remove --allATTENTION
In your project, each time you npm install, yarn install or update packages, you have to re-link again
# cd your-project
yalc link webpackozea0.3.5
5 years ago