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 11#!/usr/bin/env node
22
3+ "use strict" ;
4+
35/*
46 * Requires the version matching `rescript` binary to be `npm link`ed in this
57 * project. Or in other words: You need to build cmij files with the same
@@ -78,22 +80,22 @@ function buildCompilerCmij() {
7880}
7981
8082function buildThirdPartyCmijs ( ) {
81- packages . forEach ( function installLib ( package ) {
83+ packages . forEach ( function installLib ( pkg ) {
8284 const libOcamlFolder = path . join (
8385 PROJECT_ROOT_DIR ,
8486 "node_modules" ,
85- package ,
87+ pkg ,
8688 "lib" ,
8789 "ocaml"
8890 ) ;
8991 const libEs6Folder = path . join (
9092 PROJECT_ROOT_DIR ,
9193 "node_modules" ,
92- package ,
94+ pkg ,
9395 "lib" ,
9496 "es6"
9597 ) ;
96- const outputFolder = path . join ( PACKAGES_DIR , package ) ;
98+ const outputFolder = path . join ( PACKAGES_DIR , pkg ) ;
9799
98100 const cmijFile = path . join ( outputFolder , `cmij.js` ) ;
99101
You can’t perform that action at this time.
0 commit comments