Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.25 KB

File metadata and controls

22 lines (16 loc) · 1.25 KB

Webpack

Webpack is a compiler and task manager that handles bundling the app and other common web code development tasks, such as:

  1. Controlling differences between environments; Webpack's ProvidePlugin allows us to specify environment variables in a file that is made available everywhere in the app.
  2. Emitting a minified version of the code.
  3. Compiling the code to an older version of JavaScript using babel, which allows us to use the latest features from JavaScript without worrying about JavaScript compatibility on patients' devices.
  4. Optimizing the code in different ways.

For more information on Webpack, see: https://survivejs.com/webpack/what-is-webpack/

This project also makes use of webpack-dev-server for development, a web server which quickly serves and reloads Webpack's bundles from localhost while working on the code.