0.0.4 • Published 6 years ago

webpack-aemsync-plugin v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Webpack AEMSync plugin

Description

Webpack plugin to autimatically upload webpack outputs to Adobe AEM instance.

For more information about AEMSync visit: https://github.com/gavoja/aemsync

Installation

npm install webpack-aemsync-plugin

yarn add webpack-aemsync-plugin

Usage

    const WebpackAemsyncPlugin = require('webpack-aemsync-plugin');

    plugins: [
            new AemSyncPlugin({
                targets: [
                    'http://admin:vagrant@localhost:4502',
                    'http://admin:vagrant@localhost:4503'
                ],
                pushInterval: 300 //ms
            })
        ],

By default plugin will try to upload all files that are being build during webpack compilation. If you want to track additional paths add it to directories property.

    plugins: [
            new AemSyncPlugin({
                ...
                directories: [
                    path: '../../../content'                
                    exclude: '**/.xml',
                ]
            })
        ],

Keep in mind that this plugin will be initialized only for webpack watch mode

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago