A build tool like rollup will be able to resolve import * as THREE from 'three';
. But notice that this statement does not work if you put it directly in a HTML page (since the browser does not know how to resolve three
).
A build tool like rollup will be able to resolve import * as THREE from 'three';
. But notice that this statement does not work if you put it directly in a HTML page (since the browser does not know how to resolve three
).