From 3566b92900e8f0530b41ed699d4fd043af6afb6e Mon Sep 17 00:00:00 2001 From: Telegin Evgeniy Date: Sat, 16 Jun 2018 00:55:14 +0600 Subject: [PATCH] Update with-markdown example (#4612) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have updated [examples/with-markdown](https://github.com/zeit/next.js/tree/canary/examples/with-markdown) in order to make it works with next 6 🎉
Error Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/zhenyatelegin/Desktop/next.js/examples/with-markdown/node_modules/markdown-in-js/babel.js
--- examples/with-markdown/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index f9f76a2b..6a390669 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -7,10 +7,10 @@ "start": "next start" }, "dependencies": { - "markdown-in-js": "1.1.3", + "markdown-in-js": "^1.1.4", "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0" }, "license": "ISC" -} \ No newline at end of file +}