@paulbremer/aem-sync-webpack-plugin

0.1.2 • Public • Published

AEMSYNC WEBPACK PLUGIN

Description

Webpack plugin used for uploading files to Adobe AEM. It will upload files after manual change or webpack build finish.

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

Installation

npm install aemsync-webpack-plugin

Usage

JavaScript

    var AemSyncPlugin = require('aem-sync-webpack-plugin');

    plugins: [
            new AemSyncPlugin({
                targets: [
                    'http://admin:vagrant@localhost:4502',
                    'http://admin:vagrant@localhost:4503'
                ],
                watchDir: './',
                exclude: '**/node_modules/**',
                pushInterval: 1000 //ms
            })
        ],

AEM Sync will be initialized only for webpack watch mode

webpack --watch 

Readme

Keywords

none

Package Sidebar

Install

npm i @paulbremer/aem-sync-webpack-plugin

Weekly Downloads

6

Version

0.1.2

License

MIT

Unpacked Size

3.68 kB

Total Files

4

Last publish

Collaborators

  • paulbremer