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.
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