Webpack erroring on ?? and ?. when doing snowpack build
#3464
Unanswered
Retsam
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've got a snowpack + TS project that was working correctly, but after some npm dependencies were updated, we're now seeing our
snowpack build
s fail, due to webpack erroring on??
and?.
syntax.I've confirmed the issue isn't snowpack's version itself, I reinstalled the original version of snowpack and I'm seeing the same issue. However I'm not sure which dependency specifically would be responsible for transforming that syntax. I'd assume something inside babel-loader, but that also has not changed version, either, so some specific babel plugin perhaps?
But I'm not sure how to debug any farther because I'm not sure precisely what babel config snowpack uses and how to trace down what part is misbehaving.
Beta Was this translation helpful? Give feedback.
All reactions