Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.41 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.41 KB

shared-webpack-config

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!

Supported features

Both configs (typescript and babel) support the following features

  • React
  • Mobx
  • styled-components
  • Hot reloading
  • Testing with jest and enzyme
  • Webpack 4

How to run

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

Stay updated

For updates, you can star this project and also follow me on twitter! https://twitter.com/danielbisch

Credits

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