npm

aem-sync-webpack-plugin

0.1.3 • 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 aem-sync-webpack-plugin

Weekly Downloads

668

Version

0.1.3

License

MIT

Last publish

Collaborators

  • lukaszblasz