Skip to content
New issue

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Usage” section is outdated -- entry -> input #143

Closed
lazarljubenovic opened this issue Mar 12, 2019 · 1 comment
Closed

“Usage” section is outdated -- entry -> input #143

lazarljubenovic opened this issue Mar 12, 2019 · 1 comment
Labels
kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc scope: docs Documentation could be improved. Or changes that only affect docs

Comments

@lazarljubenovic
Copy link

lazarljubenovic commented Mar 12, 2019

What happens and why it is wrong

I followed the README, but got the following error:

(!) You have passed an unrecognized option
Unknown input option: entry. Allowed options: acorn, acornInjectPlugins, cache, chunkGroupingSize, context, experimentalCacheExpiry, experimentalOptimizeChunks, experimentalTopLevelAwait, external, inlineDynamicImports, input, manualChunks, moduleContext, onwarn, perf, plugins, preserveModules, preserveSymlinks, shimMissingExports, treeshake, watch

undefined → stdout...
[!] Error: You must supply options.input to rollup

Versions

  • typescript: 3.3.3333
  • rollup: 1.6.0
  • rollup-plugin-typescript2: 0.20.0

rollup.config.js

import typescript from 'rollup-plugin-typescript2'

export default {
  entry: './src/test.ts',
  plugins: [
    typescript(),
  ]
}
ezolenko added a commit that referenced this issue Mar 13, 2019
@ezolenko
Copy link
Owner

Fixed, thanks

@agilgur5 agilgur5 added the scope: docs Documentation could be improved. Or changes that only affect docs label May 7, 2022
@agilgur5 agilgur5 changed the title “Usage” from README is outdated “Usage” section entry is outdated May 7, 2022
@agilgur5 agilgur5 changed the title “Usage” section entry is outdated “Usage” section is outdated -- entry -> input May 7, 2022
Repository owner locked as resolved and limited conversation to collaborators May 7, 2022
@agilgur5 agilgur5 added the kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc label Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc scope: docs Documentation could be improved. Or changes that only affect docs
Projects
None yet
Development

No branches or pull requests

3 participants