bugfix: remark/webpack conflict (#29180)

## Bug

- [x] Related issues linked using [`#29179`](https://github.com/vercel/next.js/issues/29179)
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes

Fixes: https://github.com/vercel/next.js/issues/29179
This commit is contained in:
Reza Baharvand 2021-09-17 21:22:55 +05:30 committed by GitHub
parent fa9ee197a4
commit e9cafaa3cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
import remark from 'remark'
import { remark } from 'remark'
import html from 'remark-html'
export default async function markdownToHtml(markdown) {