0.1.2 • Published 6 years ago
@paulbremer/aem-sync-webpack-plugin v0.1.2
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
0.1.2
6 years ago