/interview-webpack-question

candidate questions for take home

Primary LanguageJavaScriptThe UnlicenseUnlicense

This is a basic interview question

What we want

  • setup a project with git init
  • create a readme.md
  • setup basic hello world with webpack
  • setup basic css with webpack
  • add template to the html plugin
  • setup basic react with no JSX
  • put react element on the page
  • setup react with JSX
  • put react element on the page

instructions

  • npm i webpack webpack-cli webpack-dev-server -D
  • npm i html-webpack-plugin -D
  • npm i css-loader -D
  • npm i style-loader -D
  • npm i mini-css-extract-plugin -D
  • npm i -D react react-dom
  • npm i -D babel-core babel-loader babel-preset-env babel-preset-stage-2
  • npm i -D babel-preset-react