aem-sync-webpack-plugin
v0.1.3
Published
Webpack plugin for aemsync
Downloads
3,761
Readme
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