landing-frontend icon indicating copy to clipboard operation
landing-frontend copied to clipboard

Use assets bundler and proper dependency manager

Open blazeu opened this issue 7 years ago • 0 comments

See https://medium.freecodecamp.org/javascript-modules-part-2-module-bundling-5020383cf306

TL;DR

  • Having many
  • Combine all assets into a single .js & .css file (Webpack preferred)
  • Since we're probably gonna use ES2015 modules to import modules/scripts, we can write all the codes in ES2015+ and have Babel + Webpack integrations to transpile the code into current version of JavaScript that is widely supported by current browsers
  • Yarn/NPM(v5) is currently the recommended dependency manager for front-end (previously only for backend Node.js)

blazeu avatar Oct 24 '17 14:10 blazeu