This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@azury/bundler

1.2.7 • Public • Published

Azury's Bundler

npm npm GitHub last commit snyk vulnerabilities

Installation

Install the package using your favorite package manager.

npm i @azury/bundler
yarn add @azury/bundler

Bundle

build -i src/index.js -o build/index.js

Options:

  • --watch to bundle in watch mode

  • --css to enable css modules

    import styles from './styles.module.css'
    
    <h1 className={styles.heading}>Hello World</h1>
  • --esm to output code as esm

  • --node to enable bundling for Node.js

  • --exlude or -e to exclude files from the bundle

Minify

ℹ️ You can minify any file a folder or just a single file.

build minify -i src -o build

ZIP

ℹ️ Mention the files you want to include in the archive and make sure to not forget the output.

build zip -f some.png other.png image.png -o myarchive.zip

Package Sidebar

Install

npm i @azury/bundler

Weekly Downloads

4

Version

1.2.7

License

Apache-2.0

Unpacked Size

904 kB

Total Files

4

Last publish

Collaborators