Socket
Book a DemoInstallSign in
Socket

@fal-works/bundle-helper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fal-works/bundle-helper

Helps bundle using s-l-t-r.

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

bundle-helper

Helps bundle using s-l-t-r.

Almost for personal use.

Usage

You have to individually require each module you want.

For example:

const minifier = require("@fal-works/bundle-helper/lib/use/terser");
const minify = minifier.command("src.js", "dest.js"); // returns s-l-t-r command

or:

const builder = require("@fal-works/bundle-helper/lib/build/browser-module");
const build = builder.command({
  bundleDistName: "cool-library",
  distDir: "lib",
  typesDir: "types",
  tsOutDir: "out",
  iifeVarName: "cool",
  srcEntryFileName: "index.ts",
}); // returns s-l-t-r command

Dependencies

The below are mandatory and automatically installed as they will be required in most cases:

  • @fal-works/s-l-t-r
  • @fal-works/mere-file-transformer
  • @types/replacestream
  • prettier
  • replacestream
  • typescript

In addition, some features require other modules as well, which you may have to install manually:

  • build/
    • browser-app/
      • rollup
      • @rollup/plugin-node-resolve
      • terser
      • fast-glob
    • browser-module/
      • rollup
      • @rollup/plugin-node-resolve
      • terser
    • node-module/
      • -
  • use/
    • esbuild/
      • esbuild
    • format/
      • -
    • glob/
      • fast-glob
    • rollup/
      • rollup
      • @rollup/plugin-node-resolve
    • swc/
      • @swc/core
    • terser/
      • terser
    • typescript/
      • tsc/
        • -
      • transpile-only/
        • -
      • transpile-only-all/
        • fast-glob

FAQs

Package last updated on 08 Jan 2021

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