From 51e2fa0e242999e645df7f8c2e781d018aa903fb Mon Sep 17 00:00:00 2001 From: Jorge Crescencio Cuadra Fueyo Date: Mon, 3 Feb 2020 10:55:56 -0600 Subject: [PATCH] Fix #10388 with-reasonml example --- examples/with-reasonml/next.config.js | 3 +-- examples/with-reasonml/package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/with-reasonml/next.config.js b/examples/with-reasonml/next.config.js index cb6b2105024fcbd..ebeacd8e6783751 100644 --- a/examples/with-reasonml/next.config.js +++ b/examples/with-reasonml/next.config.js @@ -1,6 +1,5 @@ -const withTM = require('next-transpile-modules') +const withTM = require('next-transpile-modules')(['bs-platform']) module.exports = withTM({ pageExtensions: ['jsx', 'js', 'bs.js'], - transpileModules: ['bs-platform'], }) diff --git a/examples/with-reasonml/package.json b/examples/with-reasonml/package.json index 3061bc5c33c76c6..f39eb664f7e41a0 100644 --- a/examples/with-reasonml/package.json +++ b/examples/with-reasonml/package.json @@ -12,14 +12,14 @@ "dependencies": { "babel-plugin-bucklescript": "^0.5.3", "next": "latest", - "next-transpile-modules": "2.3.1", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "next-transpile-modules": "^3.0.2", + "react": "^16.12.0", + "react-dom": "^16.12.0", "reason-react": "^0.7.0" }, "devDependencies": { - "@babel/core": "^7.4.3", - "bs-platform": "5.0.3", - "concurrently": "^4.1.0" + "@babel/core": "^7.8.4", + "bs-platform": "^7.1.0", + "concurrently": "^5.1.0" } }