Command line tool for gjsify
$ npm install -g @gjsify/cli
$ gjsify COMMAND
running command...
$ gjsify (-v|--version|version)
@gjsify/cli/0.0.1-b linux-x64 node-v12.14.1
$ gjsify --help [COMMAND]
USAGE
$ gjsify COMMAND
...
describe the command here
USAGE
$ gjsify build [FILE]
OPTIONS
-b, --beautify Beautify build output
-h, --help show CLI help
-m, --minimize Minimize build output
-o, --outputFilename=outputFilename [default: index.js] File name of the output bundle
-p, --outputPath=outputPath [default: ./dist] Output destination path
--mangle Mangle build output
EXAMPLE
$ gjsify build ./src/hello.ts
See code: src/commands/build.ts
display help for gjsify
USAGE
$ gjsify help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Many npm modules that don't do IO will just work after being browserified. Others take more work.
When you require() any of these modules, you will get a gjs-specific shim: