blitz-js / babel-plugin-superjson-next

Automatically transform your Next.js Pages to use SuperJSON
MIT License
125 stars 15 forks source link

Fix skipped api-something pages #116

Closed felipeptcho closed 2 years ago

felipeptcho commented 2 years ago

Currently, pages that start with api (like apis or apiculture) are being skipped by the plugin. This PR fixes the issue by adding the missing nodePath.sep in the skip condition and a test.

Skn0tt commented 2 years ago

@felipeptcho great PR, thank you!

Skn0tt commented 2 years ago

@all-contributors please add @felipeptcho for code, bug

allcontributors[bot] commented 2 years ago

@Skn0tt

I've put up a pull request to add @felipeptcho! :tada: