Socket
Socket
Sign inDemoInstall

excludify

Package Overview
Dependencies
6
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    excludify

Ignore require calls in browserify modules


Version published
Weekly downloads
47
decreased by-48.91%
Maintainers
1
Install size
1.35 MB
Created
Weekly downloads
 

Readme

Source

excludify

Excludify is a transform for browserify that lets you exclude modules by wildcards and regex patterns.

Installation

npm install --save-dev excludify

Example

package.json:

{
  "excludify": {
    "excludes": [
      "*.css",
      "*.less"
    ]
  }
}

Shell:

browserify index.js -t [ excludify --excludes "*.css" ] > bundle.js

Browserify API:

var b = browserify();
b.transform(excludify, {
  excludes: [
    "*.css",
    // Regex is allowed
    /\.less$/
  ]
});

Keywords

FAQs

Last updated on 01 Jun 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc