A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/thlorenz/commandify below:

thlorenz/commandify: Executes a command whenever the bundle is created.

browserify transform which executes a shell command exactly once for every time the bundle is created.

The command can be configured

{
  "browserify": {
    "transform": [ "commandify" ]
  },
  "commandify": "make all"
}

In this case the command is executed in the directory in which the package.json is defined.

via environment variables:
COMMANDIFY_CMD='make all' COMMANDIFY_DIR='./compile' browserify main.js ....
directly on commandify when bundle step is JavaScript
commandify.cmd = 'make hello';
commandify.dir = __dirname + '/compile';
browserify()
  .require(require.resolve('./makeify/main.js'), { entry: true })
  .bundle()
  .pipe(....);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4