File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/playground-bundling/scripts Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
+ "use strict" ;
4
+
3
5
/*
4
6
* Requires the version matching `rescript` binary to be `npm link`ed in this
5
7
* project. Or in other words: You need to build cmij files with the same
@@ -78,22 +80,22 @@ function buildCompilerCmij() {
78
80
}
79
81
80
82
function buildThirdPartyCmijs ( ) {
81
- packages . forEach ( function installLib ( package ) {
83
+ packages . forEach ( function installLib ( pkg ) {
82
84
const libOcamlFolder = path . join (
83
85
PROJECT_ROOT_DIR ,
84
86
"node_modules" ,
85
- package ,
87
+ pkg ,
86
88
"lib" ,
87
89
"ocaml"
88
90
) ;
89
91
const libEs6Folder = path . join (
90
92
PROJECT_ROOT_DIR ,
91
93
"node_modules" ,
92
- package ,
94
+ pkg ,
93
95
"lib" ,
94
96
"es6"
95
97
) ;
96
- const outputFolder = path . join ( PACKAGES_DIR , package ) ;
98
+ const outputFolder = path . join ( PACKAGES_DIR , pkg ) ;
97
99
98
100
const cmijFile = path . join ( outputFolder , `cmij.js` ) ;
99
101
You can’t perform that action at this time.
0 commit comments