https://github.com/haf/hello-next-cosmos
https://github.com/haf/hello-next-cosmos
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/haf/hello-next-cosmos
- Owner: haf
- Created: 2019-07-17T20:04:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:42:40.000Z (over 2 years ago)
- Last Synced: 2025-02-02T04:17:13.517Z (4 months ago)
- Language: TypeScript
- Size: 1.42 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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-jsxFrom 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