Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Fix the React & Webpack tutorial #765

Merged
merged 1 commit into from
Jun 26, 2019
Merged

Fix the React & Webpack tutorial #765

merged 1 commit into from
Jun 26, 2019

Conversation

mbertram
Copy link
Contributor

@mbertram mbertram commented May 28, 2018

Following the tutorial eventually results in an error message. Since webpack v4 a CLI has to be installed.

This PR fixes the issue with the missing CLI and also simplifies parts of the configuration.

This possibly supersedes #462.

  • Use the default configuration values of Webpack 4
  • Switch to ts-loader after experiencing performance degradation with awesome-typescript-loader
  • Install Webpack as a local package
  • Move @types into devDependencies

- Use the default configuration values of Webpack 4
- Switch to ts-loader after experiencing performance degradation with awesome-typescript-loader
- Install Webpack as a local package
- Move @types into devDependencies
@mbertram mbertram changed the title Update the React & Webpack tutorial Fix the React & Webpack tutorial Jul 16, 2018
@iwasa-kosui
Copy link

Please merge it

@RyanCavanaugh RyanCavanaugh self-assigned this Feb 14, 2019
@diescake
Copy link

Please merge it

@orta
Copy link
Contributor

orta commented Jun 26, 2019

Alright, I've ran through the whole tutorial and it feels like an improvement to me. Thanks @mbertram

@orta orta closed this Jun 26, 2019
@orta orta reopened this Jun 26, 2019
@orta orta merged commit 499b78f into microsoft:master Jun 26, 2019
@mbertram mbertram deleted the fix/react-webpack4 branch June 26, 2019 05:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants