-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on last release #20
Comments
Two questions:
|
|
Ah, that's weird: 59f43c5 🤔 I added a named export, and it caused rollup to compile the default export from |
So the issue was with previous versions and a configuration option missed in Correct way to import with const { Path } = require('path-parser')
// or
const Path = require('path-parser').default |
Great! Thanks for clarifying and updating the README 😉 |
Hey there!
Awesome work with this troch, just wanted to let you know that on the last release you've published, it breaks saying that Path is not a constructor.
Just by using
const p = new Path('/api/names/:name/:number');
But somehow it says that is not a constructor.
As soon as I downgrade to another version of the package, the same code works just fine!
The text was updated successfully, but these errors were encountered: