This package has been deprecated

Author message:

has been deprecated. Try https://dvhb.github.io/cli/

@dvhb/webpack

1.6.6 • Public • Published

Dvhb Webpack with zero initial configuration

Features

  • Webpack
  • Babel, ES2015 + modules, Stage 0 preset
  • Optional static views with pug template engine (for static websites)

Install in existing project

npm install --save-dev @dvhb/webpack

Add scripts to package.json

"scripts": {
  ...
  "start": "dvhb-webpack server",
  "build": "dvhb-webpack build"
  ...
}

See basic starter project for more details examples/basic.

Workflow

  • Add code to src/.
  • Build and watch changes in src/ with npm start
  • Open localhost:3000

Requirements

  • Node.js v5+ and npm

Package Sidebar

Install

npm i @dvhb/webpack

Weekly Downloads

0

Version

1.6.6

License

MIT

Unpacked Size

107 kB

Total Files

93

Last publish

Collaborators