0.1.0 • Published 4 years ago

@ajay-testing/forge-bundler v0.1.0

Weekly downloads
2
License
UNLICENSED
Repository
bitbucket
Last release
4 years ago

Default bundler for Forge apps

API

import { bundle, watch } from '@atlassian/forge-cli-bundler';

// bundle example
const { output, sourceMap } = await bundle(endpoint);

// watch example
const monitor = watch(endpoint, (err, output) => {
  if (err) {
    log(err);
  } else {
    // ...
  }
});

monitor.stop();