# Test samples with dedicated verion of Three

**URL:** <https://discourse.threejs.org/t/test-samples-with-dedicated-verion-of-three/35937>\
**Category:** Questions\
**Tags:** modules\
**Created:** [March 14, 2022, 1:31pm UTC](https://discourse.threejs.org/t/test-samples-with-dedicated-verion-of-three/35937 "2022-03-14T13:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomfree](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/tomfree/32/23649_2.png) [@tomfree](https://discourse.threejs.org/u/tomfree)\
**Post date:** [March 14, 2022, 1:31pm UTC](https://discourse.threejs.org/t/test-samples-with-dedicated-verion-of-three/35937/1 "2022-03-14T13:31:02Z")

</div>

In the past I used references like [https://rawgit.com/mrdoob/three.js/r136/examples/jsm/controls/OrbitControls.js](https://rawgit.com/mrdoob/three.js/r136/examples/jsm/controls/OrbitControls.js) in codepen (e.g. [https://codepen.io/thogu/pen/ExwBQRp](https://codepen.io/thogu/pen/ExwBQRp)) to test functionality in a given version of three.js. Since v137 it appears that this is not working anymore since imports changed e.g. in [https://rawgit.com/mrdoob/three.js/r137/examples/jsm/controls/OrbitControls.js](https://rawgit.com/mrdoob/three.js/r137/examples/jsm/controls/OrbitControls.js) it is

> import … from “three”

whereas in v136 it was

> import … from ‘…/…/…/build/three.module.js’;

Of course the relative path works but the “three” doesn’t. So I wonder how I can teste functionality with a dedicated version of three.js via codepen etc? Ideas?

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [March 14, 2022, 5:59pm UTC](https://discourse.threejs.org/t/test-samples-with-dedicated-verion-of-three/35937/2 "2022-03-14T17:59:04Z")

</div>

The Skypack CDN (see [three.js docs](https://threejs.org/docs/#manual/en/introduction/Installation)) should support the updated imports if you prefer to use a CDN.

Personally I typically use `npm link` (to use a local checkout of the three.js repo) and a bundler for this type of thing; it makes managing dependencies easier and more reliable in my opinion.
