1.0.4 • Published 9 years ago

generator-webpack-hot v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Webpack hot generator

npm.io

Generate a webpack hot loadable es6 ready project. This structure is different from using something like webpack-dev-server, it provides:

  • framework agnosticism, use react, angular, whatever you like
  • es6 support via babel
  • hotloading via webpack-hot-middleware and an express server
  • support for request proxying via http-proxy, super handy if you need access to a backend server that you don't have to control of or if you don't want to mess with CORS just for development
  • sass support in webpack so you can simply require in your sass files

Directory structure

- src/
-- index.html
-- main.js
-- index.scss
- build/
-- ... build files here
- server.js
- package.json
- webpack.config.js

Usage & Workflow

yo webpack-hot
npm start
# open localhost:1616 in your browser
# and start writing your app in your src/ folder

Builds

Once you are ready to build your app, simply run:

npm run build

and your build will be ready in the build folder

License

MIT

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago