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.
This commit is contained in:
Nathan Sculli 2020-04-06 01:44:01 -07:00 committed by GitHub
parent e3a35b2a3e
commit fa39b311ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 9 deletions

View file

@ -2,7 +2,4 @@
"presets": [
"next/babel"
],
"plugins": [
"babel-plugin-bucklescript"
]
}

View file

@ -10,7 +10,6 @@
},
"license": "ISC",
"dependencies": {
"babel-plugin-bucklescript": "^0.5.3",
"next": "latest",
"next-transpile-modules": "^3.0.2",
"react": "^16.8.6",
@ -19,7 +18,7 @@
},
"devDependencies": {
"@babel/core": "^7.4.3",
"bs-platform": "5.0.3",
"bs-platform": "7.2.2",
"concurrently": "^4.1.0"
}
}

View file

@ -1,8 +1,5 @@
{
"presets": [
"next/babel"
],
"plugins": [
"babel-plugin-bucklescript"
]
}

View file

@ -10,7 +10,6 @@
},
"license": "ISC",
"dependencies": {
"babel-plugin-bucklescript": "^0.5.3",
"next": "latest",
"next-transpile-modules": "^3.0.2",
"react": "^16.12.0",