babel-plugin-superjson-next v0.1.9-fix-19-danger
Getting started
Install the library with your package manager of choice, e.g.:
npm install babel-plugin-superjson-nextSince this is a companion to SuperJSON, make sure it's also installed:
npm install superjsonAdd the plugin to your .babelrc.
If you don't have one, create it.
{
"presets": ["next/babel"],
"plugins": [
...
"superjson-next" // 👈
]
}That's it! Now you're free to use all values and type supported by SuperJSON in your Next.js Components.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
3 years ago
3 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago