Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb158d9

Browse files
committed
Fix playground build
1 parente2a9bf9 commitfb158d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎packages/playground/rollup.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import nodeResolve from "@rollup/plugin-node-resolve";
33
import{glob}from"glob";
44

55
constRESCRIPT_COMPILER_ROOT_DIR=path.join(import.meta.dirname,"..","..");
6-
constLIB_DIR=path.join(RESCRIPT_COMPILER_ROOT_DIR,"lib");
6+
constLIB_DIR=path.join(RESCRIPT_COMPILER_ROOT_DIR,"packages","@rescript","runtime","lib");
77

88
// Final target output directory where all the cmijs will be stored
99
constPACKAGES_DIR=path.join(import.meta.dirname,"packages");

‎packages/playground/scripts/generate_cmijs.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exec("yarn rescript legacy");
2828

2929
// We need to build the compiler's builtin modules as a separate cmij.
3030
// Otherwise we can't use them for compilation within the playground.
31-
buildCmij(compilerRootDir,"compiler-builtins");
31+
buildCmij(path.join(compilerRootDir,"packages","@rescript","runtime"),"compiler-builtins");
3232

3333
constpackages=resConfig["dependencies"];
3434
for(constpkgNameofpackages){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp