New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

esbuild-gjs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-gjs

Gjs Plugin for ESBuild

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Gjs Plugin for ESBuild

This plugin configures esbuild to bundle files for Gjs.

  • Module names start with "gi:", "file:", "resource:" are externals
  • Built-in module names are externals
  • Output will be ES module if no specified
  • Legacy import is unsupported
import * as esbuild from "esbuild";
import GjsPlugin from "esbuild-gjs";

await esbuild.build({
  entryPoints: ["index.ts"],
  target: "firefox68", // Spider Monkey 68
  bundle: true,
  outfile: "index.js",
  plugins: [GjsPlugin({})]
});

License

SPDX: Apache-2.0

Keywords

esbuild

FAQs

Package last updated on 22 Sep 2024

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