From 24400d1e61182242215bfe8e30d6903070db1248 Mon Sep 17 00:00:00 2001 From: Zihua Wu Date: Sun, 23 Dec 2018 18:20:27 +0800 Subject: [PATCH] fix: update with-mobx example (#5936) Babel related content in README.md is updated according to the updated .babelrc --- examples/with-mobx/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/with-mobx/README.md b/examples/with-mobx/README.md index 2c2d3f90..86a6426a 100644 --- a/examples/with-mobx/README.md +++ b/examples/with-mobx/README.md @@ -47,7 +47,8 @@ This example is a mobx port of the [with-redux](https://github.com/zeit/next.js/ "next/babel" ], "plugins": [ - "transform-decorators-legacy" + ["@babel/plugin-proposal-decorators", { "legacy": true }], + ["@babel/plugin-proposal-class-properties", { "loose": true }] ] } ```