Skip to content

xiaoping6688/deploy-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy-webpack-plugin

A webpack plugin to deploy complied static resources and template files to local or remote directory.

Example

// webpack.config.js
var DeployWebpackPlugin = require('deploy-webpack-plugin');
module.exports = {
    // ...
    plugins: [
        new DeployPlugin({
            "receiver": "http://remote_server:3333/receiver", // optional, deploy to local directory when omitted
            "staticDir": "/Users/xxx/repos/tmp/test/static", // .js,.css,images will end up here
            "tplDir": "/Users/xxx/repos/tmp/test/template" // .html ends up here
        })
    ]
};

About

A webpack plugin to deploy complied static resources and template files to local or remote directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%