Skip to content

Latest commit

 

History

History

react-webpack

React, webpack

Full documentation about it here

Commands

  • npm run build - run webpack using the local webpack.config.js file. Builds the client-side code into /lib.
  • npm start - builds the code and opens index.html inside the browser.
  • npm test - run the tests using the local .mocharc.js config file. As the config includes the Babel transpilation hook @babel/register it does not require pre-compilation before running.

Makes use of

  • babel - transpilation
  • enzyme - React component testing library
  • chai - assertion library
  • jsx - syntax extension to JavaScript