logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

commonize - JavaScript transpiler to Node-compatible CommonJS

Name

       commonize - JavaScript transpiler to Node-compatible CommonJS

Options

-V, --version
              output the version number

       -c, --config [file]
              JSON configuration file (no file or - means STDIN)

       -w, --watch
              Continually rebuild

       -x, --extension <js | coffee | ...>
              File extension to assume when resolving module identifiers

       --relativize
              Rewrite all module identifiers to be relative

       --follow-requires
              Scan modules for required dependencies

       --use-provides-module
              Respect @providesModules pragma in files

       --cache-dir <directory>
              Alternate directory to use for disk cache

       --no-cache-dir
              Disable the disk cache

       --source-charset <utf8 | win1252 | ...>
              Charset of source (default: utf8)

       --output-charset <utf8 | win1252 | ...>
              Charset of output (default: utf8)

       -h, --help
              display help for command

commonize 0.10.8                                  October 2023                                      COMMONIZE(1)

Synopsis

commonize [options] <sourcedirectory><outputdirectory> [<moduleID> [<moduleID> ...]]

See Also