Skip to content

Commit

Permalink
chore: Docusaurus with webpack 5 (facebook#500)
Browse files Browse the repository at this point in the history
Summary:
Use an unreleased version of Docusaurus to test the webpack5 support works for this site, detect potential problems, and perf improvements.

See also facebook/docusaurus#4089

Pull Request resolved: facebook#500

Reviewed By: dulinriley

Differential Revision: D28129952

Pulled By: Huxpro

fbshipit-source-id: 07942b60d5200ea6dc3a9de86844da349f700a31
  • Loading branch information
slorber authored and facebook-github-bot committed May 5, 2021
1 parent d089a64 commit 44169f6
Show file tree
Hide file tree
Showing 4 changed files with 2,749 additions and 4,012 deletions.
2 changes: 1 addition & 1 deletion doc/CrossCompilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ This process is currently happened in different places for different platforms:

1. For Android, this happened in `hermes/android/build.gradle`
2. For Apple platforms, this happend in `hermes/utils/build-apple-framework.sh`
3. For Emscripten, you can find an example from the `test-emscripte` job from `hermes/.circleci/config.yml`. Also see more details at [Building with Emscripten](../emscripten)
3. For Emscripten, you can find an example from the `test-emscripten` job from `hermes/.circleci/config.yml`. Also see more details at [Building with Emscripten](./Emscripten.md)
2 changes: 1 addition & 1 deletion doc/Emscripten.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ WARNING: The old `fastcomp` backend was [removed in emscripten `2.0.0` (August 2
Hermes now requires a two stage build proecess because the VM now contains
Hermes bytecode which needs to be compiled by Hermes.

Please follow the [Cross Compilation](../CrossCompilation) to set up a workplace
Please follow the [Cross Compilation](./CrossCompilation.md) to set up a workplace
and build a host hermesc at `$HERMES_WS_DIR/build_host_hermesc`.


Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.69",
"@docusaurus/preset-classic": "^2.0.0-alpha.69",
"@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.75",
"classnames": "^2.2.6",
"monaco-editor": "^0.19.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-monaco-editor": "^0.33.0"
},
"browserslist": {
Expand Down
Loading

0 comments on commit 44169f6

Please sign in to comment.