Skip to content

published package is missing commonjs code #146

@whollacsek

Description

@whollacsek

Version info

ReactFire: 2.0.0

Other (e.g. Node, browser, operating system) (if applicable):
"next": "9.0.5",
"typescript": "^3.5.3"

Test case

I just started a new project with next.js and stumbled on this new version of reactfire, I was excited to give it a try but was immediately disappointed by:

/home/[REDACTED]/node_modules/reactfire/index.js:1
export * from './auth';
^^^^^^

SyntaxError: Unexpected token export

So I opened the reactfire package and found that it doesn't contain commonjs version of source code.

Steps to reproduce

  • create a next.js based project with typescript support
  • add reactfire and import it in index.tsx

Expected behavior

Package published on npm should contain valid/runnable node.js code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions