New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@forge/bundler

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/bundler

Default bundler for Forge apps

0.7.5-next.3
Version published
Weekly downloads
13K
16.16%
Maintainers
14
Weekly downloads
 
Created

Default bundler for Forge apps

API

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

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

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

monitor.stop();

FAQs

Package last updated on 21 Oct 2020

Did you know?

Socket

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