1.2.7 • Published 2 years ago

@azury/bundler v1.2.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

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
1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago