Socket
Book a DemoInstallSign in
Socket

bit-bundler-browserpack

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bit-bundler-browserpack

Bit bundler for JavaScript assets

4.0.2
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

bit-bundler-browserpack

Greenkeeper badge

bit-bundler bundler provider to create JavaScript bundles. This bundler provider uses browser-pack as the backing bundle generator.

Options

  • sourceMap { boolean } (true) - Enables/disables the generation of inline source maps.
  • umd { string } - String name for the UMD module to be exported. UMD is a configuration that allows bundles to run in node.js, requirejs, and traditional script tags. If running in the browser, provide this setting for maximum compatibility. The name you provide is exported so that other modules can consume the bundle. This is some literature on it.
  • printInfo { boolean } (false) - Flag to print out to console basic information about the modules in each generated bundle.
  • exportNames { boolean } (false) - Flag to export modules by name rather than ID if the modules are not relative names. The only modules that are exported by name are root modules.

All options that browser-pack takes can be forwarded in a browserPack configuration object. However, this should not really be needed for the general case as all options are automatically computed for you by this module.

{
  umd: 'mysweetmodule',
  browserPack: {
    raw: true
  }
}

License

Licensed under MIT

Keywords

bit-bundler

FAQs

Package last updated on 01 Dec 2017

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.