-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: explain react deps in angular host dependencies
- Loading branch information
Showing
9 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
5 changes: 3 additions & 2 deletions
5
angular/examples/my-angular-v12-env/preview/host-dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
5 changes: 3 additions & 2 deletions
5
angular/examples/my-angular-v13-env/preview/host-dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
5 changes: 3 additions & 2 deletions
5
angular/examples/my-angular-v14-env/preview/host-dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
5 changes: 3 additions & 2 deletions
5
angular/examples/my-angular-v15-env/preview/host-dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
5 changes: 3 additions & 2 deletions
5
angular/examples/my-angular-v16-env/preview/host-dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* Dependencies to be bundled only once, in the env preview template, and not in each component preview. | ||
* most of your peer dependencies should be listed here to avoid duplications in the preview. | ||
* React, ReactDOM, and MDX are included as they are part of the preview ui. | ||
*/ | ||
export default [ | ||
'@teambit/mdx.ui.mdx-scope-context', | ||
'@mdx-js/react', | ||
'react', | ||
'react-dom', | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters