Skip to content
A command line tool that detect JavaScript file can be bundled.
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
test
.gitignore
.travis.yml
LICENSE
README.md
package.json
renovate.json
tsconfig.json
yarn.lock

README.md

can-bundle-it

A command line tool that detect JavaScript file can be bundled.

This command line use webpack to bundle js files.

Install

Install with npm:

npm install can-bundle-it

Usage

Usage
  $ can-bundle-it /path/to/file.js

Options
  --verbose show info/warning/error messages 

Examples
  $ can-bundle-it lib/index.js
  $ echo $?
  # ok -> exit status is 0
  # ng -> exit status is 1
  $ can-bundle-it lib/*.js --verbose
  • If success to bundle js file, exit status is 0
  • If fail to bundle js file, exit status is 1

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

You can’t perform that action at this time.