Skip to content

agilgur5/rpt2-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpt2-repro

A minimal reproduction environment for issues with rollup-plugin-typescript2

Please do your best to create a minimal example that reproduces this behavior.
Minimal reproductions help us find the root cause of an issue much more expediently than trying to interpret and disentangle a complicated repo. The process of creating a minimal reproduction also often helps users find a misconfiguration in their code. It could also help you identify the root cause yourself and potentially create a Pull Request to fix it!

Usage

  1. Find this environment on StackBlitz
  2. Click "Fork"
  3. Add your deps in package.json and run npm install in the terminal
  4. Add your configuration in tsconfig.json and rollup.config.js
  5. Modify src/index.ts to provide a minimal example of the problem you have run into
  6. Run npm run build and make sure you can reproduce the problem
    • If you cannot reproduce this problem minimally, the issue may be due to misconfiguration (and would therefore not be a bug in rpt2)
  7. Can run npm run tsc to double-check that tsc does not have the same problem
    • If tsc has the same problem, then it is very possible the issue is in TypeScript itself
  8. Click "Share" and copy the link into the issue that you are filing
  9. Make sure to follow the steps in the issue template