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:
21
README.md
21
README.md
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user