Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Last active February 15, 2021 21:46
Show Gist options
  • Save sandrabosk/35464642aca9c75faef494793f50db8b to your computer and use it in GitHub Desktop.
Save sandrabosk/35464642aca9c75faef494793f50db8b to your computer and use it in GitHub Desktop.

Checking for understanding - Solution

  • What does babel do? ---> read here
  • What does webpackdo? ---> read here
  • What are babel-preset-env and babel-preset-react? read here - env and read here - react
  • What does test: /\.js$/ represents in the webpack.config file? - A regular expression (test) that checks for files with .js or .jsx extension.
  • What does the webpack-dev-server do? - A tool that checks for changes in source code and rebundles files automatically.

Advanced

Research and summarize what is:

  1. tree shaking ---> read here,
  2. code splitting ---> read here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment