AveroLLC / typesafe-react-router

Utility functions to help facilitate type-safe routing with react-router
Apache License 2.0
89 stars 14 forks source link

👾update module to be commonjs #14

Closed igorrmotta closed 3 years ago

igorrmotta commented 4 years ago

So any nodejs can use it without any funky/special babel?

For my own use case, I'm trying to run with jest and it's complaining about the syntax

export * from '...';
igorrmotta commented 3 years ago

We've been running this code change in production since the PR has been opened.

Any bundler that can transpile es2015 can also transpile CommonJS.

igorrmotta commented 3 years ago

Any chance of publishing these changes @mfranklin @autoric ?