Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds an option esm which if set to true changes the exports to use ESM format export default doc; export const MyQuery = doc; etc. This allows usage with [node-esm-loader](npm.im/node-esm-loader) ```js export default { loaders: [ { test: /\.(graphql|gql)$/, use: [ { loader: "graphql-tag/loader.js", options: { esm: true } } ] }, ], }; ```
- Loading branch information