Socket
Socket
Sign inDemoInstall

webpack-aemsync-plugin

Package Overview
Dependencies
61
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-aemsync-plugin

Webpack plugin to integrate AEMSync into your workflow


Version published
Weekly downloads
1
Maintainers
3
Install size
3.14 MB
Created
Weekly downloads
 

Readme

Source

Webpack AEMSync plugin

Description

Webpack plugin to autimatically upload webpack outputs to Adobe AEM instance.

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

Installation

npm install webpack-aemsync-plugin

yarn add webpack-aemsync-plugin

Usage

    const WebpackAemsyncPlugin = require('webpack-aemsync-plugin');

    plugins: [
            new AemSyncPlugin({
                targets: [
                    'http://admin:vagrant@localhost:4502',
                    'http://admin:vagrant@localhost:4503'
                ],
                pushInterval: 300 //ms
            })
        ],

By default plugin will try to upload all files that are being build during webpack compilation. If you want to track additional paths add it to directories property.

    plugins: [
            new AemSyncPlugin({
                ...
                directories: [
                    path: '../../../content'                
                    exclude: '**/.xml',
                ]
            })
        ],

Keep in mind that this plugin will be initialized only for webpack watch mode

Keywords

FAQs

Last updated on 03 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc