Optimization causes TypeError not a function with a simple three.js dependency

Description

I've created a simple test case that creates a three.js renderer and calls one function on loading (.setSize renderer 200 200)

When building with "lein cljsbuild once dev" everything works when the browser loads index.html.

But with "lein cljsbuild once min" an error occurs on loading:
"Uncaught TypeError: (intermediate value).bc is not a function"

Environment

Ubuntu 16.10, Clojurescript 1.9.456

Activity

Show:
import
February 5, 2017, 12:17 AM

Comment made by: davidplumpton

Sorry, misunderstanding of externs behaviour, please close.

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

Priority

Major
Configure