A CommonJS Loader for browserify workflow.
What is browserify-loaderbrowserify-loader
is another CommonJS loader for browserify workflow. With BL, You don’t need any tools like watchify, browserify-middleware to auto build and serve bundle *js in development env.
browserify-loader
is similar with requirejs, but:
define()
npm
package and all bower
components witch support CommonJS
. like underscore
, backbone
, jQuery
and so on.Download browserify-loader
with npm
:
$ npm install browserify-loader2
Put browserify-loader.min.js
in your page:
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <script main="./app.js" src="node_modules/browserify-loader2/out/browserify-loader.min.js"></script> </body> </html>
Then, browserify-loader
will start to run for main
file in your package.json
file.
app.js
in node app.js
/
to be a directory module. Not supported yet.Look into example/index.html
.
The module loader has test cases written in Qunit, open test/index.html
.
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