No more copying of webpack config files. Create a single, shareable webpack config project.
The projects are just examples for my wiki tutortial. Please read the wiki so that you can build your own, custom, shareable build config!
https://github.com/danielbischoff/shared-webpack-config/wiki
This project contains two examples. One example uses typescript and the other example uses babel to transpile to javascript. Checkout the subfolder you prefer!
Both configs (typescript and babel) support the following features
- React
- Mobx
- styled-components
- Hot reloading
- Testing with jest and enzyme
- Webpack 4
git clone https://github.com/danielbischoff/shared-webpack-config.git
cd shared-webpack-config
cd js-babel # or cd typescript
yarn install
cd packages/app
yarn start # starts a dev server at port 9000
For updates, you can star this project and also follow me on twitter! https://twitter.com/danielbisch
Credits go to the create-react-app team, this idea is based on. Thank you for your awesome work! https://github.com/facebook/create-react-app
And also to the webpack team for their great documentation! https://github.com/webpack/webpack