File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ let dump_program (x : J.program) oc =
60
60
61
61
62
62
let node_program ~output_dir f ( x : J.deps_program ) =
63
+ P. string f L. strict_directive;
64
+ P. newline f ;
63
65
let cxt =
64
66
Js_dump_import_export. requires
65
67
L. require
@@ -78,6 +80,8 @@ let node_program ~output_dir f ( x : J.deps_program) =
78
80
79
81
let amd_program ~output_dir kind f ( x : J.deps_program ) =
80
82
let cxt = Ext_pp_scope. empty in
83
+ P. string f L. strict_directive;
84
+ P. newline f ;
81
85
P. vgroup f 1 @@ fun _ ->
82
86
P. string f L. define;
83
87
P. string f " ([" ;
@@ -156,9 +160,7 @@ let pp_deps_program
156
160
P. string f empty_explanation
157
161
(* This is empty module, it won't be referred anywhere *)
158
162
else
159
- let output_dir = Filename. dirname output_prefix in
160
- P. string f L. strict_directive;
161
- P. newline f ;
163
+ let output_dir = Filename. dirname output_prefix in
162
164
begin
163
165
ignore (match kind with
164
166
| Es6 | Es6_global ->
You can’t perform that action at this time.
0 commit comments