Webpack plugin for aemsync
npm install @paulbremer/aem-sync-webpack-pluginAEMSYNC WEBPACK PLUGIN
=======
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
```
npm install aemsync-webpack-plugin
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
``