We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is an example Rollup configuration:
export default { plugins: [ { options: function (rollup) { rollup.entry = "foo.js"; } } ] };
When using rollup --config I get the following error:
rollup --config
馃毃 You must specify an --input (-i) option
If I instead use this config, then it works:
export default { entry: "foo.js", plugins: [ { options: function (rollup) { rollup.entry = "foo.js"; } } ] };
Basically, it seems that Rollup is checking whether the entry option is specified or not, but it does this check before the plugins are run.
entry
I think Rollup should do the check after the plugins run, because a plugin might set the entry in an options hook.
options
The text was updated successfully, but these errors were encountered:
apply plugins before checking for options.entry - closes #1270
f855cb4
Merge pull request #1434 from rollup/gh-1270
5cf0a29
apply plugins before checking for options.entry
This is fixed in 0.43, thanks
Sorry, something went wrong.
........ i also have this problom but this issue cant make me know how to fix this problem
Successfully merging a pull request may close this issue.
Here is an example Rollup configuration:
When using
rollup --config
I get the following error:If I instead use this config, then it works:
Basically, it seems that Rollup is checking whether the
entry
option is specified or not, but it does this check before the plugins are run.I think Rollup should do the check after the plugins run, because a plugin might set the
entry
in anoptions
hook.The text was updated successfully, but these errors were encountered: