Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

silk-buildjs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

silk-buildjs

A common webpack config for building a node module which may consist of many files into a single `.js` file.

  • 1.16.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

BuildJS

A common webpack config for building a node module which may consist of many files into a single .js file.

Usage

By default this module will be used to build js modules used within the android build system... This may be overriden by specifying an additional npm script:

{
  "scripts": {
    "silk-build-gonk": "<your override script>"
  }
}

Scripts will be given two arguments via the shell:

  • Absolute path to source of module
  • Absolute path to destination of module

Modules may also customize the use of webpack by adding an additional webpack.config.js file to the root of the module. This file will be mixed into the webpack.config.js within buildjs.

Customization

Sometimes packages may need additional webpack plugins or otherwise specify additional flags (i.e. externals). The package invoking buildjs can add an additional webpack.local.json file and it will override any default webpack options ( Feature unstable ).

Keywords

FAQs

Package last updated on 03 Oct 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc