Skip to content

Commit c0b0439

Browse files
committed
Move webpack readme below modules
1 parent b5cb453 commit c0b0439

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ npm install plotly.js
4040
<script type="text/javascript" src="https://cdn.plot.ly/plotly-latest.min.js"></script>
4141
```
4242

43-
#### Webpack Usage
44-
45-
Plotly.js uses a browserify transform (glslify) to transform shaders. To make this work with Webpack, you will need to install [ify-loader]() and add it to your `webpack.config.json`.
46-
4743
Read the [Getting started page](https://plot.ly/javascript/getting-started/) for more examples.
4844

4945
## Modules
@@ -68,6 +64,10 @@ Then elsewhere in your code:
6864
var Plotly = require('./custom-plotly');
6965
```
7066

67+
#### Webpack Usage with Modules
68+
69+
Plotly.js uses a browserify transform (glslify) to transform shaders. To make the trace module system work with Webpack, you will need to install [ify-loader]() and add it to your `webpack.config.json` for your build to correctly bundle and parse `.glsl` files.
70+
7171
## Bugs and feature requests
7272

7373
Have a bug or a feature request? Please first read the [issues guidelines](https://github.com/plotly/plotly.js/blob/master/CONTRIBUTING.md#opening-issues).

0 commit comments

Comments
 (0)