File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -327,16 +327,16 @@ module Compiler = {
327
327
type t ;
328
328
329
329
// Factory
330
- [@ bs . val ] [@ bs . scope "bs_platform " ] external make : unit => t = "make" ;
330
+ [@ bs . val ] [@ bs . scope "rescript_compiler " ] external make : unit => t = "make" ;
331
331
332
332
[@ bs . get ] external version : t => string = "version" ;
333
333
334
334
/*
335
335
Res compiler actions
336
336
*/
337
- [@ bs . get ] [@ bs . scope "napkin " ] external resVersion : t => string = "version" ;
337
+ [@ bs . get ] [@ bs . scope "rescript " ] external resVersion : t => string = "version" ;
338
338
339
- [@ bs . send ] [@ bs . scope "napkin " ]
339
+ [@ bs . send ] [@ bs . scope "rescript " ]
340
340
external resCompile : (t , string ) => Js . Json . t = "compile" ;
341
341
342
342
let resCompile = (t, code): CompilationResult . t => {
@@ -347,7 +347,7 @@ module Compiler = {
347
347
CompilationResult . decode(~time= stopTime -. startTime, json);
348
348
};
349
349
350
- [@ bs . send ] [@ bs . scope "napkin " ]
350
+ [@ bs . send ] [@ bs . scope "rescript " ]
351
351
external resFormat : (t , string ) => Js . Json . t = "format" ;
352
352
353
353
let resFormat = (t, code): ConversionResult . t => {
@@ -448,5 +448,5 @@ module Compiler = {
448
448
};
449
449
};
450
450
451
- [@ bs . val ] [@ bs . scope "bs_platform " ]
451
+ [@ bs . val ] [@ bs . scope "rescript_compiler " ]
452
452
external apiVersion : string = "api_version" ;
You can’t perform that action at this time.
0 commit comments