Anton Gilgur 045560cd37
github: add a reproduction environment to the issue template (#354)
- this should help make reproductions easier as it gives a quick
  starting point requiring no boilerplate and is easily accessible from
  a browser too

- decided to go with StackBlitz over CodeSandbox and repl.it as it's
  WebContainer tech allows for running Node projects entirely _inside_
  the browser (via WebAssembly)
  - meaning that unlike CodeSandbox and repl.it, their platform doesn't
    need to spin up and connect to a container on the backend
  - so it's much more efficient, performant, and cost-effective
  - and, importantly, it means you don't need an account to get started
    with a Node project; you only need an account to save your work etc
    - this makes a noticeable UX difference, since user funnels
      generally decrease the more steps you take (especially a larger
      one like creating an account)
      - and we want reproductions to be as easy as possible to create
        (so that people actually create them), so optimizing this flow
        is important
  - that being said, CodeSandbox and repl.it have much stronger OSS
    presences and have open-sourced most of their core technology
    - and Rollup and rollup/plugins use repl.it for reproductions:
      https://replit.com/@rollup/rollup-plugin-repro
    - so wanted to use those, but the UX difference was pretty
      significant
    - repl.it also didn't have as good a DX IMO

- have already made several reproductions of issues using this
  environment as well, so can confirm that it works well!

- StackBlitz: https://stackblitz.com/edit/rpt2-repro
- GitHub: https://github.com/agilgur5/rpt2-repro
2022-06-14 08:30:38 -06:00

3.1 KiB

Troubleshooting

  1. Does tsc have the same output? If so, please explain why this is incorrect behavior
  2. Does your Rollup plugin order match this plugin's compatibility? If not, please elaborate
  3. Can you create a minimal example that reproduces this behavior? Preferably, use this environment for your reproduction

What happens and why it is incorrect

Environment

Versions


rollup.config.js

:

tsconfig.json

:

package.json

:

plugin output with verbosity 3

: