Unverified Commit fa39b311 authored by Nathan Sculli's avatar Nathan Sculli Committed by GitHub

A little bit of maintenance on the ReasonML examples (#11662)

* Add babel-types package

`next dev` was failing with:

```
Error: Cannot find module 'babel-types'
```

* Upgrade to the latest bs-platform

Also add the `babel-types` package to stop the `next dev` command from complaining.

* Remove extraneous babel-plugin-bucklescript dependency.

Seems the dependency has been deprecated, and it doesn't seem to be required
anyways.
parent e3a35b2a
...@@ -2,7 +2,4 @@ ...@@ -2,7 +2,4 @@
"presets": [ "presets": [
"next/babel" "next/babel"
], ],
"plugins": [
"babel-plugin-bucklescript"
]
} }
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
}, },
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"babel-plugin-bucklescript": "^0.5.3",
"next": "latest", "next": "latest",
"next-transpile-modules": "^3.0.2", "next-transpile-modules": "^3.0.2",
"react": "^16.8.6", "react": "^16.8.6",
...@@ -19,7 +18,7 @@ ...@@ -19,7 +18,7 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.4.3", "@babel/core": "^7.4.3",
"bs-platform": "5.0.3", "bs-platform": "7.2.2",
"concurrently": "^4.1.0" "concurrently": "^4.1.0"
} }
} }
{ {
"presets": [ "presets": [
"next/babel" "next/babel"
],
"plugins": [
"babel-plugin-bucklescript"
] ]
} }
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
}, },
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"babel-plugin-bucklescript": "^0.5.3",
"next": "latest", "next": "latest",
"next-transpile-modules": "^3.0.2", "next-transpile-modules": "^3.0.2",
"react": "^16.12.0", "react": "^16.12.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment