lchean / webpack-starter

Simple Webpack starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple webpack starter

Starter content

  1. Webpack + dev server
  2. Babel (ES6)
  3. ES6 Dynamic import
  4. Normalize CSS + Sass + nano compression + autoprefixer (browserslist in package.json)
  5. Postcss inline svg
  6. Eslint + Stylelint + prettier
  7. Cross-env

Install packages

npm install

Dev build + local server (http://localhost:9000/)

npm start

Dev build

npm run build:dev

Prod build

npm run build:prd

Doc

  1. Dynamic import
  2. SVG post css

About

Simple Webpack starter


Languages

Language:JavaScript 89.0%Language:HTML 9.9%Language:CSS 1.1%