Skip to content

Commit af72b1f

Browse files
committed
duringthe build the ref to THREE was getting lost...
1 parent b774186 commit af72b1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/export/Script.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ export class Script {
150150
}
151151
else
152152
{
153+
output +=`const THREE = fromModule('THREE');
154+
`;
153155
//
154156
// since the script will be evaluated we will need to be injected by the evaluator...
155157
//

0 commit comments

Comments
 (0)