graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

Migrate from `@babel/plugin-syntax-import-assertions` to `@babel/plugin-syntax-import-attributes`

Open Semigradsky opened this issue 11 months ago • 2 comments

https://next.babeljs.io/docs/v8-migration/#babelplugin-syntax-import-assertions

See also https://github.com/ardatan/graphql-tools/issues/5066

Semigradsky avatar Jul 25 '23 11:07 Semigradsky

Could you please be more descriptive? Also we don't use Babel 8 in this project

ardatan avatar Jul 25 '23 11:07 ardatan

It was a suggestion to replace the Babel plugin with a new one that supports new syntax by default. https://github.com/ardatan/graphql-tools/blob/3a8e4846a745c313240c9312a43d499d7177b7fc/packages/graphql-tag-pluck/package.json#L55 But I didn't see how this dependency used in graphql-tag-pluck

Semigradsky avatar Jul 25 '23 15:07 Semigradsky