Skip to content

agilgur5/rpt2-issue-295

 
 

Repository files navigation

Repro for:

developit/microbundle#808

Steps to repro:

  1. Clone this repo
  2. Install pnpm if you don't have it: npm install -g pnpm
  3. pnpm install at the root of this project
  4. cd packages/some-package && pnpm install
  5. pnpm build

You should get this:

(babel plugin) SyntaxError: absolute-path-to\bundle-bug-repro\modules\code.ts: Unexpected token, expected "," (2:38)

  1 |
> 2 | export default ( someTypescriptSyntax : string ) => {
    |                                       ^
  3 |     return someTypescriptSyntax
  4 | }

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • JavaScript 60.4%
  • TypeScript 39.6%