npm.io
1.0.6 • Published 3 years ago

koa-deploy-webpack-plugin v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

koa-deploy-webpack-plugin

module.exports = { output: { clean: true, }, plugins: new HtmlWebpackPlugin(), new KoaDeployWebpackPlugin({ ssh: { host: "", // 你的服务器地址,例如 111.111.111.111 port: 22, // ssh连接的端口号,默认为22 username: "root", // 连接服务器的用户名,默认为root password: "", }, project: { name: "cf_deploy_project", // 你的项目目录名, 默认为cf_deploy_project path: "/", // 项目存放于服务器的位置,默认为/ port: 8080, // 项目运行的端口号,默认为8080 }, compress: { test: /.(css|js)$/i, }, staticConfig: { maxage: { // 设置缓存时间 html: 0, js: 100000, }, }, }), , };

webpackplugindeploykoapm2
colorsnode-sshcompression-webpack-plugin
@infinitebrahmanuniverse/nolb-koa-d@everything-registry/sub-chunk-2022
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

contact@npm.io