Skip to content

React.lazy fails with snowpack build #3375

Answered by theseyi
theseyi asked this question in Q&A
Discussion options

You must be logged in to vote

Also use@snowpack/plugin-webpack for PROD builds, ended up just removing the alias graphiql: 'graphiql/dist/index.js', and using the import to directly reference the file instead import('graphiql/dist/index.js')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by theseyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant