.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH INDEX.JS "1" "September 2022" "index.js 1.1.5" "User Commands" .SH NAME index.js \- A simple bundler for your delicious modules .SH DESCRIPTION .IP Usage .IP \f(CW$ bundt [entry] [options]\fR .IP Config .IP If no [entry] was provided, then src/index.js is used. .IP Configuration lives within your package.json file as these keys: .IP ??? "main" ??? the output path for your CommonJS file (default: dist/browserify\-lite.js) ??? "module" ??? the output path for your ES Module file not built if undefined ??? "unpkg" or "umd:main" ??? the output path for your UMD file not built if undefined ??? "browser" ??? the output path for your browser\-specific entrypoint not built if undefined ??? "umd:name" ??? the name of your UMD factory (default: "browserify\-lite") ??? "modes" ??? a mapping of custom mode names to their entries ??? "terser" ??? a config object to customize Terser behavior .IP You may use a .terserrc file to store configuration instead of the "terser" key. .IP Options .IP All files are built unless 1+ limits are defined .TP \fB\-\-main\fR Builds the "main" file .TP \fB\-\-unpkg\fR Builds the "unpkg" or "umd:main" file .TP \fB\-\-module\fR Builds the "module" file .TP \fB\-\-browser\fR Builds the "browser" file .TP \fB\-\-minify\fR Minify all file formats .TP \fB\-\-help\fR, \fB\-h\fR Displays this message .IP Examples .IP \f(CW$ bundt\fR .br \f(CW$ bundt lib/index.js\fR .br \f(CW$ bundt src/browser.js --browser --unpkg\fR