README
browserify-high-priority-extensions
When using browserify to bundle up dependencies, extensions
option can be used to define extra module filename extension. However, the default module filename extension will always have highest priority (.js, .json
), which may not be the choice.
With browserify-high-priority-extension, custom extensions
option can have higher priority than the default ones.
Installation
$ npm install browserify-high-priority-extensions
Usage
To provide custom extensions
option with higher priority:
var hpe = require('browserify-high-priority-extensions');
hpe.enable();
To reset to the default behaviour:
hpe.disable();
License
(The MIT License)
Copyright (c) 2016 Chuan Shao <shaochuancs@gmail.com>