2.1.0 • Published 2 years ago

packu v2.1.0

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

packu

Installation

Install packu using your favorite package manager.

npm i packu
yarn add packu

Bundle

packu -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
  • --exclude or -e to exclude dependencies from the bundle

Minify

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

packu minify -i src -o build

ZIP

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

packu zip -f some.png other.png image.png -o myarchive.zip
2.1.0

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago