Skip to content
Discussion options

You must be logged in to vote

You're trying to import a file directly into webpack that is not supported out of the box. You'd need to add an additional loader to support excel files: https://www.gatsbyjs.com/docs/how-to/images-and-media/importing-assets-into-files/

A quick solution to this is using the static folder: https://www.gatsbyjs.com/docs/how-to/images-and-media/static-folder#gatsby-skip-here

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@justsilencia
Comment options

@LekoArts
Comment options

@justsilencia
Comment options

Answer selected by justsilencia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #32426 on July 19, 2021 14:36.