diff --git a/README.md b/README.md
index 97ce0a00..fa04fe00 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ Give it a try in [this jsFiddle](https://jsfiddle.net/felixmariotto/y81rf5t2/44/
Using react-three-fiber ? Here is a [codesandbox](https://codesandbox.io/s/react-three-mesh-ui-forked-v7n0b?file=/src/index.js) to get started.
## Import
+### JSM
**With NPM and ES6 :**
In your console : `npm install three-mesh-ui`
```javascript
@@ -51,11 +52,30 @@ In your console : `npm install three-mesh-ui`
const ThreeMeshUI = require('three-mesh-ui');
```
-**With HTML
+```
+
+
+### JS
+**With HTML <script> tag :**
+```html
+
+
+
+
```
+*Although this would theorically allows you to build 'something', loading js libraries instead of using jsm, might restrict the global features you would have. This is true for both three and three-mesh-ui libraries.*
+
+
## Font files
In order to display some text with three-mesh-ui, you will need to provide font files.
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 0835eae8..15bd1a26 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -14,8 +14,11 @@ module.exports = env => {
filename: '[name].js',
library: 'ThreeMeshUI',
libraryTarget: 'umd'
+ },
+ externals: {
+ three:'THREE'
}
}
-}
\ No newline at end of file
+}