Skip to content

Commit 1ba0a40

Browse files
committed
Reinstate minified three for nbextension
Since constructor name resolution was fixed
1 parent a402b00 commit 1ba0a40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def add_images(app):
223223
app.builder.images[img] = img_name
224224

225225
app.connect('builder-inited', add_scripts)
226-
226+
227227
if on_rtd:
228228
# Ensure example image resources are available. This requires a redirect on RTD.
229229
app.connect('builder-inited', add_images)

js/scripts/copy-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const exampleImagesDstDir = path.resolve(baseDir, '..', 'docs', 'source', 'examp
1818

1919
function copyThree() {
2020
return fse.copy(
21-
path.resolve(threeBuildDir, 'three.js'),
21+
path.resolve(threeBuildDir, 'three.min.js'),
2222
path.resolve(staticDir, 'three.js')
2323
).then(function() {
2424
console.log('Copied three.js to static folder');

0 commit comments

Comments
 (0)