Skip to content

Commit

Permalink
Merge pull request #554 from gfpacheco/feature/cell-non-cell
Browse files Browse the repository at this point in the history
Allow non-cell files name end with Cell
  • Loading branch information
peterp authored May 21, 2020
2 parents 76834d5 + 5684d68 commit ba7407f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/loaders/cell-loader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
export default function (source: string) {
if (source.match('export default') && !source.match('export const QUERY')) {
return source
}

const exports: string[] = []

const names = [
Expand Down

0 comments on commit ba7407f

Please sign in to comment.