-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace esbuild with webpack to ensure require works on runtime
- Loading branch information
Showing
9 changed files
with
39,917 additions
and
9,557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ _coverage | |
*.coverage | ||
coverage.json | ||
|
||
# BuckleScript artifacts | ||
*.bs.js | ||
# Website artifacts | ||
website/build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
(executable | ||
(name Website) | ||
(modes js) | ||
(libraries | ||
console.lib | ||
query-json-js | ||
yojson | ||
js_of_ocaml | ||
jsoo-react.lib | ||
jsoo-css) | ||
(libraries query-json-js js_of_ocaml jsoo-react.lib jsoo-css) | ||
(preprocess | ||
(pps jsoo-react.ppx ppx_jsobject_conv))) | ||
|
||
; @monaco-editor/react uses `rollupjs` to build | ||
; which creates a folder with underscore `_virtual` | ||
; dune by default ignores any prefixed with underscore folder. | ||
; This hardcodes the path dune ignores. | ||
; If we update the lib, this might break | ||
|
||
(dirs | ||
node_modules/@monaco-editor/react/lib/cjs/_virtual | ||
node_modules/@monaco-editor/loader/lib/cjs/_virtual) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,5 @@ | |
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="./js/bundle.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.