All apps/Rollup

Rollup

rollup

Module bundler for JavaScript.

Runs as rollup|macOS, Linux, Windows|rollupjs.org

Autocomplete

Fig spec, with what the manifest adds · 68 options
Published once and never changed; check the digest before caching
sha256
a502a7c2d2f53768dcf624dd8092d28f68753f3f7ab7e64a08345314def4b24b
Size
11164 bytes
OptionsOn rollup itself
-c--config
Use this config file (if argument is used but value is unspecified, defaults to rollup.config.js) <filename>
-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
Specify bundle position for source maps <file>
--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
Throttle watch rebuilds <number>
--no-watch.clearScreen
Do not clear the screen when rebuilding
--watch.skipWrite
Do not write files to disk when watching
--watch.exclude
Exclude files from being watched <files>
--watch.include
Limit watching to specified files <files>
--validate
Validate output