Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the exporting of services and web components in tooling and match the new pathing in sites #4961

Prev Previous commit
Next Next commit
fix strange build issue when importing from the root and using a util…
…ity in a Node environment
  • Loading branch information
janechu committed Jul 16, 2021
commit a69917834b7d79fb5440f3dc31a399c77ed74480
5 changes: 4 additions & 1 deletion sites/site-utilities/build/generate-component-schemas.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import * as fastComponentDefinitions from "@microsoft/fast-components/dist/esm/component-definitions";
import { mapWebComponentDefinitionToJSONSchema } from "@microsoft/fast-tooling";
/**
* Node is erroring when importing from the root, therefore we are importing directly from the data-utilities folder
*/
import { mapWebComponentDefinitionToJSONSchema } from "@microsoft/fast-tooling/dist/esm/data-utilities";
import fs from "fs";
import path from "path";

Expand Down