Skip to content

Commit

Permalink
Simplify building the graphql-anywhere/lib/async entry point.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Feb 26, 2019
1 parent d21e5ed commit 2863135
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions packages/graphql-anywhere/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@ import { rollup } from '../../config/rollup.config';

export default [
...rollup({ name: 'graphql-anywhere' }),
...rollup({
name: 'graphql-anywhere-async',
input: 'src/graphql-async.ts',
outputPrefix: 'async',
}),
];
2 changes: 1 addition & 1 deletion packages/graphql-anywhere/src/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,5 +844,5 @@ describe('basic operations done sync', execute(require('../').default, x => x));

describe(
'basic operations done async',
execute(require('../graphql-async').graphql, x => Promise.resolve(x)),
execute(require('../async').graphql, x => Promise.resolve(x)),
);
File renamed without changes.

0 comments on commit 2863135

Please sign in to comment.