https://github.com/leon/bug-nextjs-webpack5
A repo showcasing an error when compiling using webpack 5
https://github.com/leon/bug-nextjs-webpack5
Last synced: 7 months ago
JSON representation
A repo showcasing an error when compiling using webpack 5
- Host: GitHub
- URL: https://github.com/leon/bug-nextjs-webpack5
- Owner: leon
- Created: 2021-04-29T05:02:39.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T05:10:51.000Z (about 5 years ago)
- Last Synced: 2024-12-28T00:43:29.542Z (over 1 year ago)
- Language: TypeScript
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ERROR when using webpack 5 setting.
if you disable it and compile with webpack 4 it works.
It probably has something to do with `withMdxEnhanced`.
# Docs
## Tech
- nextjs
- mdx
- tailwind
## Getting Started
First make sure you have installed the latest packages
```bash
yarn
```
Then, start the development server:
```bash
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying pages under the `pages` directory. The page auto-updates as you edit the file.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
- [Tailwind](https://tailwindcss.com/docs) - how does tailwind work