1.3.0 • Published 7 years ago

@rill/webpack v1.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Webpack dev and hot reload middleware for Rill. (Automatically removed in the browser)

Installation

npm install @rill/webpack

Example

const app = require('rill')()
const devMiddleware = require('@rill/webpack')
const hotMiddleware = require('@rill/webpack/hot?overlay=false&timeout=1000') // pass in client side options via query string.

// Setup the dev middleware (provide config path relative to project root).
app.use(devMiddleware('webpack.config.js', {
  quiet: true
}))

// Setup the hot middleware (provide config path relative to project root).
app.use(hotMiddleware('webpack.config.js', {
  heartbeat: 2000
}))

Contributions

  • Use npm test to run tests.

Please feel free to create a PR!

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago