0.1.7 • Published 7 years ago
browserdeps v0.1.7
browserdeps
bundle browser dependencies in correct dependency order and output result
Install
$ npm install --save-dev browserdeps
or much faster npm installs with https://yarnpkg.com/
$ yarn add --dev browserdeps
Prerequisite
in this version only npm packages are supportet and must be installed with npm. we prefer node_modules which are much easier to work with.
$ npm install --save jquery moment lscache
Usage
in package.json
"scripts": {
"browserdeps": "browserdeps -o dist/lib.js"
}
from command line
$ ./node_modules/.bin/browserdeps -o dist/lib.js