Template for a Web App with WebPack, includes loaders for ES6 (Babel) and CSS/SCSS, plugins for generating on-fly HTML and Browser Sync, it uses Bootstrap
$ npm install
Second step: run using webpack --watch, it will execute browser-sync-webpack, it run a web server on port 3000 and watching file changes
$ npm start
- @babel/cli & @babel/core: Babel Core for transpiling to Java Script code that understand any browser
- @babel/preset-env: Set of plugins that transforms ES6/ES2015+ to ES5
- webpack & webpack-cli: Webpack core and command line utility
- browser-sync & browser-sync-webpack-plugin: Refresh browser's page when any file changed
- babel-loader: Webpack loader for transpiling JS files, it invokes Babel
- style-loader & css-loader: Webpack loaders for processing CSS, includes @import and url declarations
- sass-loader: Webpack loader for transforming SCSS/SASS to CSS. it invokes node-sass
- node-sass: SCSS/SASS to CSS conversor
- html-webpack-plugin: Generates on-fly HTML index or main page, it incrusting tags for loading bundles of JS and CSS code
- mini-css-extract-plugin: Generates static CSS bundle
- bootstrap: CSS framework for desing Web Pages
- jquery: Fast, small, and feature-rich JavaScript library
- popper.js: A library used to position poppers in web applications
This file indicates the presets that Babel must using