1.2.11 • Published 4 years ago

devpacker-cli v1.2.11

Weekly downloads
8
License
MIT
Repository
-
Last release
4 years ago

devpacker-cli

code conversion through command lines

use the command to display the list of options

> devpacker -h

Example

out file

> devpacker --entry filename.js --output bundle.js --format umd --minified true

create configuration file and run bundle

> devpacker -cf
> devpacker start

devpacker.config.js

//config -> object or array<Object>
module.exports = [{
    entry: "",// dirname or filename
    outDir: "", 
    outFile: "",
    // configuration https://www.npmjs.com/package/devpacker
    options: {
        format: "cjs",
        minified: false
    },
    // avalible when entry is directory
    exclude: /(bundle|node_modules)$/, // exclude when scanning
    /**
     * by default ignores hidden files and directories,
     * use it if you want to include in scan
     */
    include: /[]/ 
}]
1.2.11

4 years ago

1.1.10

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago