@xh/hoist-dev-utils 8.1.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -237,11 +237,12 @@ async function configureWebpack(env) {
237
237
  if (inlineHoist) {
238
238
  resolveAliases['@xh/hoist'] = hoistPath;
239
239
 
240
- // This ensures that we use the same instance of react in hoist-react as in the app - needed
241
- // to get hooks working since they will throw an error if the react instance that the hook
240
+ // This ensures that we use the same instance of libs in hoist-react as in the app - needed
241
+ // to get hooks working since they will throw an error if the lib instance that the hook
242
242
  // was imported from is different than the instance that was used to render the component
243
243
  // (which will always be the instance hoist-react has when using element factories)
244
- resolveAliases.react = path.resolve('./node_modules/react');
244
+ resolveAliases['react'] = path.resolve('./node_modules/react');
245
+ resolveAliases['@ag-grid-community'] = path.resolve('./node_modules/@ag-grid-community');
245
246
  }
246
247
 
247
248
  // When running inline, resolve inline Hoist's own node_modules package so we can tell Babel to exclude
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist-dev-utils",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "Utilities for configuring builds of Hoist-React client applications.",
5
5
  "repository": "github:xh/hoist-dev-utils",
6
6
  "homepage": "https://github.com/xh/hoist-dev-utils",