This repository has been archived by the owner on Dec 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Null "browser" values appear to break downstream webpack builds #1
Comments
manthey
added a commit
to girder/girder
that referenced
this issue
Jan 29, 2018
The most recent version of vega depends on vega-canvas, but that doesn't build with webpack. See vega/vega-canvas#1. This pins enough of vega to avoid the problem. This can be reverted when candela publishes a work around or the problem is fixed in vega-canvas.
This was referenced Jan 30, 2018
This is also causing build issues in ipyvega and jupyter renderers. |
However, I can compile successfully with webpack 1. #jsproblems |
zachmullen
pushed a commit
to Kitware/candela
that referenced
this issue
Oct 4, 2018
The most recent version of vega depends on vega-canvas, but that doesn't build with webpack. See vega/vega-canvas#1. This pins enough of vega to avoid the problem. This can be reverted when candela publishes a work around or the problem is fixed in vega-canvas.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the candela library, which depends on vega and uses webpack, we started seeing the following error earlier today:
It is being triggered by some logic in enhanced-resolve when attempting to load
canvas
fromvega-canvas
. The value ofdata
isnull
(notundefined
orfalse
), so it passes the checks and gets sent on to lower stacks until it is eventually referenced and gets theindexOf
error (doRequest()
is called with therequest
field set tonull
):I don't know anything about the
browser
field inpackage.json
, but this spec seems to suggest usingfalse
, and does not mention the use ofnull
. Shouldnull
s be changed tofalse
orundefined
inpackage.json
instead to make tools like webpack happy?That's the best analysis I can do with limited knowledge on the subject.
The text was updated successfully, but these errors were encountered: