diff --git a/packages/async/CHANGELOG.md b/packages/async/CHANGELOG.md index 8770835d99..1cb443eb39 100644 --- a/packages/async/CHANGELOG.md +++ b/packages/async/CHANGELOG.md @@ -7,6 +7,10 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +### Added + +- Added `createAsyncQuery` from AlpaQL to the list of default transforms. ([#1702](https://github.com/Shopify/quilt/pull/1702)) + ## [2.1.6] - 2020-10-20 - Added `tslib@^1.14.1` in the list of dependencies. [#1657](https://github.com/Shopify/quilt/pull/1657) diff --git a/packages/async/src/babel-plugin.ts b/packages/async/src/babel-plugin.ts index 66ba61406c..018fbc58d1 100644 --- a/packages/async/src/babel-plugin.ts +++ b/packages/async/src/babel-plugin.ts @@ -2,6 +2,7 @@ import Types from '@babel/types'; import {NodePath, Binding} from '@babel/traverse'; const DEFAULT_PACKAGES_TO_PROCESS = { + '@shopify/alpaql/async': ['createAsyncQuery'], '@shopify/async': ['createResolver'], '@shopify/react-async': ['createAsyncContext', 'createAsyncComponent'], '@shopify/react-graphql': ['createAsyncQueryComponent', 'createAsyncQuery'],