Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0x31 committed Jul 16, 2024
1 parent 7754f57 commit c52f2bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
tests/
src/
README.md
tsconfig.json
vitest.config.ts
.eslint.json
node_modules/
bun.lockb
.gitignore

###########################
### OTHER GENERIC FILES ###
Expand All @@ -30,4 +31,4 @@ debug.log
*.env
.env*

###########################
###########################
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ console.log(_fragments.ExampleFragment); // Has type `FragmentDefinitionNode`

## Changelog

**_v4.0.0_**:

- Added source-map generation. Can by disabled by initializing with `graphqlLoader({noSourceMap: true})`.
- Refactored code generation to be more maintainable, added more test cases.
- Migrated from `yarn` to `bun`.

**_v3.0.1_**:

- Switched `await import` statements to top-level `import` statements (fixes #5 - `Top-level await is not available` error).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-graphql-loader",
"version": "3.0.1",
"version": "4.0.0",
"description": "A Vite plugin for loading GraphQL files.",
"type": "module",
"main": "dist/index.js",
Expand Down

0 comments on commit c52f2bf

Please sign in to comment.