You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# need '-browsers' version to test in real (xvfb-wrapped) browsers
166
-
- image: cimg/node:16.8.0-browsers
166
+
- image: cimg/node:16.17.1-browsers
167
167
environment:
168
168
# Alaska time (arbitrary timezone to test date logic)
169
169
TZ: "America/Anchorage"
@@ -182,7 +182,7 @@ jobs:
182
182
mathjax-firefox82:
183
183
docker:
184
184
# need '-browsers' version to test in real (xvfb-wrapped) browsers
185
-
- image: cimg/node:16.8.0-browsers
185
+
- image: cimg/node:16.17.1-browsers
186
186
environment:
187
187
# Alaska time (arbitrary timezone to test date logic)
188
188
TZ: "America/Anchorage"
@@ -201,7 +201,7 @@ jobs:
201
201
mathjax-firefoxLatest:
202
202
docker:
203
203
# need '-browsers' version to test in real (xvfb-wrapped) browsers
204
-
- image: cimg/node:16.8.0-browsers
204
+
- image: cimg/node:16.17.1-browsers
205
205
environment:
206
206
# Alaska time (arbitrary timezone to test date logic)
207
207
TZ: "America/Anchorage"
@@ -255,7 +255,7 @@ jobs:
255
255
256
256
test-baselines:
257
257
docker:
258
-
- image: circleci/node:16.8.0
258
+
- image: circleci/node:16.9.0
259
259
working_directory: ~/plotly.js
260
260
steps:
261
261
- attach_workspace:
@@ -269,7 +269,7 @@ jobs:
269
269
270
270
test-baselines-mathjax3:
271
271
docker:
272
-
- image: circleci/node:16.8.0
272
+
- image: circleci/node:16.9.0
273
273
working_directory: ~/plotly.js
274
274
steps:
275
275
- attach_workspace:
@@ -306,7 +306,7 @@ jobs:
306
306
307
307
test-exports:
308
308
docker:
309
-
- image: circleci/node:16.8.0
309
+
- image: circleci/node:16.9.0
310
310
working_directory: ~/plotly.js
311
311
steps:
312
312
- attach_workspace:
@@ -320,7 +320,7 @@ jobs:
320
320
321
321
mock-validation:
322
322
docker:
323
-
- image: cimg/node:16.8.0
323
+
- image: cimg/node:16.17.1
324
324
working_directory: ~/plotly.js
325
325
steps:
326
326
- attach_workspace:
@@ -334,7 +334,7 @@ jobs:
334
334
335
335
source-syntax:
336
336
docker:
337
-
- image: cimg/node:16.8.0
337
+
- image: cimg/node:16.17.1
338
338
working_directory: ~/plotly.js
339
339
steps:
340
340
- attach_workspace:
@@ -345,7 +345,7 @@ jobs:
345
345
346
346
publish-dist:
347
347
docker:
348
-
- image: cimg/node:16.8.0
348
+
- image: cimg/node:16.17.1
349
349
working_directory: ~/plotly.js
350
350
steps:
351
351
- checkout
@@ -400,21 +400,18 @@ jobs:
400
400
- run:
401
401
name: Test plot-schema.json diff - If failed, after (npm start) you could run (npm run schema && git add test/plot-schema.json && git commit -m "update plot-schema diff")
Copy file name to clipboardExpand all lines: BUILDING.md
-35
Original file line number
Diff line number
Diff line change
@@ -3,41 +3,6 @@ Depending on your needs you may require/import one of [the distributed plotly.js
3
3
4
4
The sections below provide additional info in respect to alternative building frameworks.
5
5
6
-
## Browserify example
7
-
8
-
Given source file:
9
-
```js
10
-
// file: index.js
11
-
var Plotly =require('plotly.js-dist-min');
12
-
// ....
13
-
```
14
-
15
-
then simply run
16
-
17
-
```sh
18
-
browserify index.js > bundle.js
19
-
```
20
-
21
-
---
22
-
## Webpack
23
-
24
-
For plotly.js to build with Webpack you will need to install [[email protected]+](https://github.com/hughsk/ify-loader) and add it to your `webpack.config.json`. This adds Browserify transform compatibility to Webpack which is necessary for some plotly.js dependencies.
25
-
26
-
A repo that demonstrates how to build plotly.js with Webpack can be found [here](https://github.com/plotly/plotly-webpack). In short add `ify-loader` to the `module` section in your `webpack.config.js`:
0 commit comments