@ardethian/webpack-starter

1.0.2 • Public • Published

Webpack Starter

A Webpack Starter Kit, bundled with -

  • Babel (es2015 preset)
  • JavaScript & CSS minification
  • CSS Reset
  • CSS Hot Loader
  • CSS Loader
  • Sass Loader

Installing

  1. git clone https://github.com/Ardethian/webpack-starter && cd webpack-starter
  2. Simply use yarn or npm install

Scripts

  • Start DevServer - yarn run dev or npm run dev

    • Enables JavaScript and CSS Source Maps
    • Disables JS & CSS minification
    • Enables hot reloading
  • Build for production - yarn run build or npm run build

    • Disables Source Maps
    • Enables JS & CSS minification

Multiple Output and Entry Points

To add more files to your bundle or create extra bundles (for example, vendor bundles), see the Webpack documentation about Entry Points and Output.

Cheers \m/

Package Sidebar

Install

npm i @ardethian/webpack-starter

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ardethian