can-bundle-it

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

MIT License

Downloads
13
Stars
15
Committers
3

Bot releases are visible (Hide)

can-bundle-it - v3.0.2 Latest Release

Published by azu about 2 years ago

can-bundle-it -

Published by azu about 2 years ago

can-bundle-it - v3.0.0

Published by azu about 2 years ago

Breaking Changes

Require Node.js 14+

What's Changed

Full Changelog: https://github.com/azu/can-bundle-it/compare/v2.0.0...v3.0.0

can-bundle-it - v2.0.0

Published by azu about 4 years ago

Summary

  • Upgrade to webpack 5
    • fit default behavior to webpack 5
  • Add nodeFallback option
  • Remove fs option

For more details, see webpack changelog

Features

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

Options
  --verbose        Show info/warning/error messages 
  
Bundle Options
  
  --target              [String]  Bundle target. Available: https://webpack.js.org/configuration/target/
  --node-fallback       [Boolean] enable Node.js modules fallback
                        webpack 5 disable Node.js polyfill by default. This options set node-libs-browser to resolve.fallback.
 
Examples
  $ can-bundle-it lib/index.js
  $ can-bundle-it lib/*.js --verbose
  # Enable Node.js polyfill like "assert"
  $ can-bundle-it lib/*.js --verbose --node-fallback
can-bundle-it - v1.1.0

Published by azu about 4 years ago

Bug Fixes

  • deps: update dependency webpack to ^4.44.0 (3950d98)
  • deps: update dependency webpack to ^4.44.1 (d3530ca)

Features

can-bundle-it - v1.0.3

Published by azu over 4 years ago

Bug Fixes

  • deps: update dependency webpack to ^4.41.5 (82eb473)
  • deps: update dependency webpack to ^4.42.0 (15a93b3)
can-bundle-it - 1.0.2

Published by azu about 5 years ago

Bug Fixes

can-bundle-it - 1.0.1

Published by azu about 5 years ago

Bug Fixes