webpack-encore-zero-downtime
v1.0.1
Published
## Installation
Downloads
39
Readme
Webpack Encore zero downtime deploy plugin
Installation
- Add plugin
yarn add webpack-encore-zero-downtime
- Add plugin to your webpack config (webpack.config.js)
const ZeroDowntime = require("webpack-encore-zero-downtime")
- Init plugin
...
if (Encore.isProduction()) {
Encore.addPlugin(new ZeroDowntime(Encore))
}
...