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

construx-browserify

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

construx-browserify

Browserify compiler plugin for construx

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by200%
Maintainers
2
Weekly downloads
 
Created
Source

construx-browserify

Lead Maintainer: Matt Edelman

Build Status NPM version

construx plugin for JIT-compiling javascript browserified resources during development of express applications.

Requirements

This plugin requires your project to have <whatever module>@<whatever semver>.

Usage

Install

$ npm install --save-dev construx-browserify

Configure

Where you configure your construx plugins:

{
    "browserify": {
        "module": "construx-browserify",
        "files": "/js/app.js"
    }
}

Alternatively, if you have a situation where a request (/bundle.js) may actually need to map to some other entry point (/main.js), you can specify a "bundles" map as below:

{
    "browserify": {
        "module": "construx-browserify",
        "files": "**/*.js",
        "bundles": {
            "/bundle.js": {
                "src": "path:./public/main.js",
                "options": {
                    "transform": ["reactify", "require-globify"]
                }
            }
        }
    }
}

IF you specify a "bundles" map, then you MUST add an entry for any file you wish to transform.

Note: See construx README for general usage of construx

Keywords

FAQs

Package last updated on 01 Jun 2016

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