Webpack 5 boilerplate using Babel, TypeScript, Sass.
Clone this repo and npm install.
npm installnpm run startYou can view the development server at localhost:8080.
npm run buildwebpack5- Module and asset bundler.webpack-cli- Command line interface for webpackwebpack-dev-middleware- Development server for webpackwebpack-merge- Simplify development/production configuration
@babel/core- Transpile ES6+ to backwards compatible JavaScript@vue/babel-preset-app- This is the default Babel preset used in all Vue CLI projects. Note: this preset is meant to be used exclusively in projects created via Vue CLI and does not consider external use cases.@babel/preset-env- Smart defaults for Babel
babel-loader- Transpile files with Babel and webpacksass-loader- Load SCSS and compile to CSSsass- Node Sass
postcss-loader- Process CSS with PostCSSpostcss-preset-env- Sensible defaults for PostCSS
css-loader- Resolve CSS importsstyle-loader- Inject CSS into the DOM
copy-webpack-plugin- Copy files to build directoryhtml-webpack-plugin- Generate HTML files from templatemini-css-extract-plugin- Extract CSS into separate files
$ npm install -g sass-migrator
$ sass-migrator division **/*.scsstypescript- TypeScript compiles to readable, standards-based JavaScript.@typescript-eslint/eslint-plugin- Monorepo for all the tooling which enables ESLint to support TypeScript@typescript-eslint/parser- An ESLint parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code.
eslint- Enforce styleguide across applicationeslint-webpack-plugin- This plugin uses eslint to find and fix problems in your JavaScript code
LoveToCode