一覧へ戻る
psirenny/rollup-plugin-graphql-import(新しいタブで開きます)
主要言語: JavaScript
Rollup plugin to import graphql schema definitions
- star 数
- 2
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 77
- 最終更新
- 2023/01/04
主要言語: JavaScript
Rollup plugin to import graphql schema definitions
Rollup plugin to import *.graphql schema definitions as sdl strings.
See: graphql-import.
yarn add --dev rollup-plugin-graphql-import
rollup.config.js:
// @flow import graphqlImport from 'rollup-plugin-graphql-import'; export default { input: 'src/Schema.graphql', output: [{ file: 'dist/index.js', format: 'esm' }], plugins: [graphqlImport()], };
Files to exclude from the plugin.
undefined?(RegExp | RegExp[] | string | string[])Files to include with the plugin.
'**/*.graphql'?(RegExp | RegExp[] | string | string[])