rollup
Next-generation ES module bundler
Options
| Name | Description | 
|---|---|
| -c, --config  <filename> | Use this config file (if argument is used but value is unspecified, defaults to rollup.config.js) | 
| -d, --dir  <dirname> | |
| -e, --external  <ids> | |
| -f, --format  <format> | |
| -g, --globals  <pairs> | |
| -h, --help | Show help message | 
| -i, --input  <filename> | |
| -m, --sourcemap | Generate sourcemap (`-m inline` for inline map) | 
| -n, --name  <name> | |
| -o, --file  <output> | |
| -p, --plugin  <plugin> | |
| -v, --version | Show version number | 
| -w, --watch | Watch files in bundle and rebuild on changes | 
| --amd.id  <id> | |
| --amd.autoId | Generate the AMD ID based off the chunk name | 
| --amd.basePath  <prefix> | |
| --amd.define  <name> | |
| --assetFileNames  <pattern> | |
| --banner  <text> | |
| --chunkFileNames  <pattern> | |
| --compact | Minify wrapper code | 
| --context  <variable> | |
| --entryFileNames  <pattern> | |
| --environment  <values> | |
| --no-esModule | Do not add __esmodule property | 
| --exports  <mode> | |
| --extend | Extend global variable defined by --name | 
| --no-externalLiveBindings | Do not generate code to support live bindings | 
| --failAfterWarnings | Exit with an error if the build produced warnings | 
| --footer  <text> | |
| --no-freeze | Do not freeze namespace objects | 
| --no-hoistTransistiveImports | Do not hoist transistive imports into entry chunks | 
| --no-indent | Don't indent result | 
| --no-interop | Do not include interop block | 
| --inlineDynamicImports | Create a single bundle when using dynamic imports | 
| --intro  <text> | |
| --minifyInternalImports | Force or disable minification of internal imports | 
| --namespaceToStringTag | Create proper '.toString' methods for namespaces | 
| --noConflict | Generate a noConflict method for UMD globals | 
| --outro  <text> | |
| --preferConst | Use 'const' instead of 'var' for exports | 
| --no-preserveEntrySignatures | Avoid facade chunks for entry points | 
| --preserveModules | Preserve module structure | 
| --preserveModulesRoot | Put preserved modules under this path at root level | 
| --preserveSymlinks | Do not follow symlinks when resolving files | 
| --no-sanitizeFileName | Do not replace invalid characters in file names | 
| --shimMissingExports | Create shim variables for missing exports | 
| --silent | Don't print warnings | 
| --sourcemapExcludeSources | Do not include source code in source maps | 
| --sourcemapFile  <file> | Specify bundle position for source maps | 
| --stdin=ext | Specify file extension used for stdin input | 
| --no-stdin | Do not read "-" from stdin | 
| --no-strict | Don't emit '"use strict"; in the generated modules | 
| --strictDeprecations | Throw errors for deprecated features | 
| --systemNullSetters | Replace empty SystemJS setters with 'null' | 
| --no-treeshake | Disable tree-shaking optimizations | 
| --no-treeshake.annotations | Ignore pure call annotations | 
| --no-treeshake.moduleSideEffects | Assume modules have no side effects | 
| --no-treeshake.propertyReadSideEffects | Ignore property access side-effects | 
| --no-treeshake.tryCatchDeoptimization | Do not turn off try-catch-tree-shaking | 
| --no-treeshake.unknownGlobalSideEffects | Assume unknown globals do not throw | 
| --waitForBuildInput | Wait for bundle input files | 
| --watch.buildDelay  <number> | Throttle watch rebuilds | 
| --no-watch.clearScreen | Do not clear the screen when rebuilding | 
| --watch.skipWrite | Do not write files to disk when watching | 
| --watch.exclude  <files> | Exclude files from being watched | 
| --watch.include  <files> | Limit watching to specified files | 
| --validate | Validate output |