1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-10 09:02:49 +00:00

upgrade to webpack 4 - complete overhaul

This commit is contained in:
2018-03-19 22:19:48 -05:00
parent f4b5cd04a5
commit 85d8a4d76b
22 changed files with 11134 additions and 5818 deletions

View File

@@ -1,17 +1,22 @@
# Starter project for React
A simplified starter project for react/typescript.
- [Typescript](https://www.typescriptlang.org/)
- [React 16](https://reactjs.org/)
- [React Router 4](https://reacttraining.com/react-router/)
- [Webpack 3](https://webpack.js.org/)
- [Yarn](https://yarnpkg.com/lang/en/docs/install/)
- [Webpack 4](https://webpack.js.org/)
- [open-color](https://yeun.github.io/open-color/)
## Commands
- yarn install
- yarn start
- npm install
- npm start
http://localhost:8080
## Note
There is currently a bug with yarn not updating package.json when upgrading packages.
[See more here](https://github.com/yarnpkg/yarn/issues/2042#issuecomment-269601927).
I added the `update-latest` script in package.json for a temporary fix.
### TODO:
Fix extract-text-webpack-plugin. Currently getting an error due to the webpack 4 upgrade.
Everything still seems fine though.
```
Entrypoint undefined = extract-text-webpack-plugin-output-filename
```