Rollup
Enabled
Section titled “Enabled”This plugin is enabled if "rollup"
is listed in "dependencies"
or "devDependencies"
in package.json
.
Default configuration
Section titled “Default configuration”If this plugin is enabled, the following configuration is added automatically:
{ "rollup": { "entry": [ "rollup.config.{js,cjs,mjs,ts}" ] }}
Depending on local configuration, plugins may modify the defaults as shown.
Custom config
or entry
options override default values, they are not merged.
See Plugins for more details about plugins and their entry
and config
options.
Shell commands
Section titled “Shell commands”This plugin adds argument parsing for the rollup
binary. Configuration:
alias: {"plugin": ["p"]}args: (args) => args.map((arg) => arg.startsWith("--watch.onEnd") ? `--_exec${arg.slice(13)}` : arg)fromArgs: ["_exec"]resolve: ["plugin", "configPlugin"]
The configuration was generated from source code. Also see Script Parser.
Generated from source
Section titled “Generated from source”This page was generated from the rollup plugin source code.
ISC License © 2024 Lars Kappert