haf / hello-next-cosmos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Next.JS + React-Cosmos

A quick way to get started with the latest Next.JS and react-cosmos configured together.

.babelrc

next/babel has these presets:

  • preset-env
  • preset-react
  • preset-typescript
  • plugin-proposal-class-properties
  • plugin-proposal-object-rest-spread
  • plugin-transform-runtime
  • styled-jsx

From https://nextjs.org/docs#customizing-webpack-config:

These presets / plugins should not be added to your custom .babelrc. Instead, you can configure them on the next/babel preset

About


Languages

Language:TypeScript 60.0%Language:JavaScript 40.0%