1.4.1 • Published 4 years ago

manablox-cli v1.4.1

Weekly downloads
33
License
MIT
Repository
github
Last release
4 years ago

manablox-cli

Zero configuration webpack runner

With manablox-cli you can run any ES20xx js file from anywhere. This is heavily inspired by backpack.

Installation

run npm install -g manablox-cli

How to use

Get into the folder, where your javascript lives, and get started by typing manablox dev myfile.js This will start a development instance of your code.

Other starting options

Usage: manablox options

zero config webpack runner

Options:
  -v,--version            output the version number
  -h, --help              output usage information

Commands:
  build [options] [file]  Build a production package
  dev [file]              start a development server

Usage: manablox build options

Build a production package

Options:
  -r, --run         start build after compiling
  -o, --run-only    only start a ready built package
  -s, --as-service  run the package with nodemon
  -h, --help        output usage information

Usage: manablox dev options

start a development server

Options:
  -h, --help  output usage information

Custom configuration

To add a new config to webpack, you can create a manablox.config.js file.

For example:

module.exports = {
    webpack: (config, options, webpack) => {
        // add a custom alias for imports
        config.resolve = {
            alias: {
                '~~': './'
            }
        }

        return config
    }
}
1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago