Skip to content

Commit

Permalink
feat(remix-dev): import .gql & .graphql files as text
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Aug 4, 2022
1 parent c0cf73a commit e147496
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-poets-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/dev": minor
---

feat(remix-dev): import `.gql` & `.graphql` files as text
2 changes: 2 additions & 0 deletions packages/remix-dev/compiler/loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const loaders: { [ext: string]: esbuild.Loader } = {
".eot": "file",
".flac": "file",
".gif": "file",
".gql": "file",
".graphql": "file",
".ico": "file",
".jpeg": "file",
".jpg": "file",
Expand Down

0 comments on commit e147496

Please sign in to comment.