@modern-js/module-tools-docs 2.0.1 → 2.0.2

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.
Files changed (192) hide show
  1. package/doc_build/html/main/index.html +16 -0
  2. package/doc_build/route.json +10 -0
  3. package/doc_build/static/css/main.css +3370 -0
  4. package/doc_build/static/css/main.css.map +1 -0
  5. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +85 -0
  6. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +1 -0
  7. package/doc_build/static/js/async/api_.js +56 -0
  8. package/doc_build/static/js/async/api_.js.map +1 -0
  9. package/doc_build/static/js/async/api_config_build-config.js +11309 -0
  10. package/doc_build/static/js/async/api_config_build-config.js.map +1 -0
  11. package/doc_build/static/js/async/api_config_build-preset.js +7849 -0
  12. package/doc_build/static/js/async/api_config_build-preset.js.map +1 -0
  13. package/doc_build/static/js/async/api_config_design-system.js +48708 -0
  14. package/doc_build/static/js/async/api_config_design-system.js.map +1 -0
  15. package/doc_build/static/js/async/api_config_plugins.js +1492 -0
  16. package/doc_build/static/js/async/api_config_plugins.js.map +1 -0
  17. package/doc_build/static/js/async/api_config_testing.js +2130 -0
  18. package/doc_build/static/js/async/api_config_testing.js.map +1 -0
  19. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js +14394 -0
  20. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js.map +1 -0
  21. package/doc_build/static/js/async/en_.js +85 -0
  22. package/doc_build/static/js/async/en_.js.map +1 -0
  23. package/doc_build/static/js/async/en_api_.js +55 -0
  24. package/doc_build/static/js/async/en_api_.js.map +1 -0
  25. package/doc_build/static/js/async/en_api_config_build-config.js +8363 -0
  26. package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -0
  27. package/doc_build/static/js/async/en_api_config_build-preset.js +7845 -0
  28. package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -0
  29. package/doc_build/static/js/async/en_api_config_design-system.js +16345 -0
  30. package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -0
  31. package/doc_build/static/js/async/en_api_config_plugins.js +1492 -0
  32. package/doc_build/static/js/async/en_api_config_plugins.js.map +1 -0
  33. package/doc_build/static/js/async/en_api_config_testing.js +2137 -0
  34. package/doc_build/static/js/async/en_api_config_testing.js.map +1 -0
  35. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +14362 -0
  36. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -0
  37. package/doc_build/static/js/async/en_guide_advance_asset.js +3997 -0
  38. package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -0
  39. package/doc_build/static/js/async/en_guide_advance_build-umd.js +9861 -0
  40. package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +1 -0
  41. package/doc_build/static/js/async/en_guide_advance_copy.js +6539 -0
  42. package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -0
  43. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +3810 -0
  44. package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +1 -0
  45. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +5046 -0
  46. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -0
  47. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +150 -0
  48. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -0
  49. package/doc_build/static/js/async/en_guide_advance_theme-config.js +2484 -0
  50. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -0
  51. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +3671 -0
  52. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -0
  53. package/doc_build/static/js/async/en_guide_basic_command-preview.js +3961 -0
  54. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -0
  55. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +2970 -0
  56. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -0
  57. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +2182 -0
  58. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -0
  59. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +3892 -0
  60. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -0
  61. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +168 -0
  62. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -0
  63. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +4762 -0
  64. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -0
  65. package/doc_build/static/js/async/en_guide_best-practices_components.js +21388 -0
  66. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -0
  67. package/doc_build/static/js/async/en_guide_intro_getting-started.js +1906 -0
  68. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -0
  69. package/doc_build/static/js/async/en_guide_intro_welcome.js +148 -0
  70. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -0
  71. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +92 -0
  72. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -0
  73. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +2560 -0
  74. package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +1 -0
  75. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +4177 -0
  76. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +1 -0
  77. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +3819 -0
  78. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -0
  79. package/doc_build/static/js/async/en_plugins_official-list_overview.js +70 -0
  80. package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +1 -0
  81. package/doc_build/static/js/async/guide_advance_asset.js +3997 -0
  82. package/doc_build/static/js/async/guide_advance_asset.js.map +1 -0
  83. package/doc_build/static/js/async/guide_advance_build-umd.js +9863 -0
  84. package/doc_build/static/js/async/guide_advance_build-umd.js.map +1 -0
  85. package/doc_build/static/js/async/guide_advance_copy.js +6539 -0
  86. package/doc_build/static/js/async/guide_advance_copy.js.map +1 -0
  87. package/doc_build/static/js/async/guide_advance_external-dependency.js +3812 -0
  88. package/doc_build/static/js/async/guide_advance_external-dependency.js.map +1 -0
  89. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js +5046 -0
  90. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js.map +1 -0
  91. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js +152 -0
  92. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +1 -0
  93. package/doc_build/static/js/async/guide_advance_theme-config.js +2475 -0
  94. package/doc_build/static/js/async/guide_advance_theme-config.js.map +1 -0
  95. package/doc_build/static/js/async/guide_basic_before-getting-started.js +3662 -0
  96. package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +1 -0
  97. package/doc_build/static/js/async/guide_basic_command-preview.js +3793 -0
  98. package/doc_build/static/js/async/guide_basic_command-preview.js.map +1 -0
  99. package/doc_build/static/js/async/guide_basic_modify-output-product.js +2949 -0
  100. package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +1 -0
  101. package/doc_build/static/js/async/guide_basic_publish-your-project.js +2243 -0
  102. package/doc_build/static/js/async/guide_basic_publish-your-project.js.map +1 -0
  103. package/doc_build/static/js/async/guide_basic_test-your-project.js +3892 -0
  104. package/doc_build/static/js/async/guide_basic_test-your-project.js.map +1 -0
  105. package/doc_build/static/js/async/guide_basic_use-micro-generator.js +172 -0
  106. package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +1 -0
  107. package/doc_build/static/js/async/guide_basic_using-storybook.js +4762 -0
  108. package/doc_build/static/js/async/guide_basic_using-storybook.js.map +1 -0
  109. package/doc_build/static/js/async/guide_best-practices_components.js +21088 -0
  110. package/doc_build/static/js/async/guide_best-practices_components.js.map +1 -0
  111. package/doc_build/static/js/async/guide_intro_getting-started.js +1782 -0
  112. package/doc_build/static/js/async/guide_intro_getting-started.js.map +1 -0
  113. package/doc_build/static/js/async/guide_intro_welcome.js +148 -0
  114. package/doc_build/static/js/async/guide_intro_welcome.js.map +1 -0
  115. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js +92 -0
  116. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +1 -0
  117. package/doc_build/static/js/async/index.js +85 -0
  118. package/doc_build/static/js/async/index.js.map +1 -0
  119. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +447 -0
  120. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -0
  121. package/doc_build/static/js/async/plugins_guide_getting-started.js +2608 -0
  122. package/doc_build/static/js/async/plugins_guide_getting-started.js.map +1 -0
  123. package/doc_build/static/js/async/plugins_guide_plugin-object.js +4173 -0
  124. package/doc_build/static/js/async/plugins_guide_plugin-object.js.map +1 -0
  125. package/doc_build/static/js/async/plugins_guide_setup-function.js +3819 -0
  126. package/doc_build/static/js/async/plugins_guide_setup-function.js.map +1 -0
  127. package/doc_build/static/js/async/plugins_official-list_overview.js +70 -0
  128. package/doc_build/static/js/async/plugins_official-list_overview.js.map +1 -0
  129. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js +6656 -0
  130. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js.map +1 -0
  131. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +54 -0
  132. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +1 -0
  133. package/doc_build/static/js/builder-runtime.js +1375 -0
  134. package/doc_build/static/js/builder-runtime.js.map +1 -0
  135. package/doc_build/static/js/lib-lodash.js +4907 -0
  136. package/doc_build/static/js/lib-lodash.js.map +1 -0
  137. package/doc_build/static/js/lib-polyfill.js +24769 -0
  138. package/doc_build/static/js/lib-polyfill.js.map +1 -0
  139. package/doc_build/static/js/lib-react.js +39510 -0
  140. package/doc_build/static/js/lib-react.js.map +1 -0
  141. package/doc_build/static/js/main.js +9237 -0
  142. package/doc_build/static/js/main.js.map +1 -0
  143. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +8532 -0
  144. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +1 -0
  145. package/docs/en/api/config/build-config.md +5 -5
  146. package/docs/en/api/plugin-api/plugin-hooks.md +1 -1
  147. package/docs/en/guide/advance/asset.mdx +1 -1
  148. package/docs/en/guide/advance/build-umd.mdx +3 -3
  149. package/docs/en/guide/advance/copy.md +5 -5
  150. package/docs/en/guide/advance/external-dependency.mdx +2 -2
  151. package/docs/en/guide/advance/in-depth-about-build.md +7 -7
  152. package/docs/en/guide/advance/in-depth-about-dev-command.md +1 -1
  153. package/docs/en/guide/advance/theme-config.mdx +2 -2
  154. package/docs/en/guide/basic/before-getting-started.md +1 -1
  155. package/docs/en/guide/basic/command-preview.md +2 -2
  156. package/docs/en/guide/basic/modify-output-product.md +23 -22
  157. package/docs/en/guide/basic/publish-your-project.md +4 -4
  158. package/docs/en/guide/basic/test-your-project.mdx +5 -3
  159. package/docs/en/guide/basic/use-micro-generator.md +9 -5
  160. package/docs/en/guide/basic/using-storybook.mdx +6 -4
  161. package/docs/en/guide/best-practices/components.mdx +103 -97
  162. package/docs/en/guide/intro/getting-started.md +2 -2
  163. package/docs/en/index.md +14 -17
  164. package/docs/en/plugins/guide/getting-started.mdx +2 -2
  165. package/docs/en/plugins/guide/setup-function.mdx +2 -2
  166. package/docs/zh/api/config/_category_.json +1 -1
  167. package/docs/zh/api/config/build-config.md +16 -5
  168. package/docs/zh/api/config/plugins.md +1 -1
  169. package/docs/zh/api/index.md +1 -0
  170. package/docs/zh/api/plugin-api/_category_.json +1 -1
  171. package/docs/zh/api/plugin-api/plugin-hooks.md +56 -55
  172. package/docs/zh/guide/advance/asset.mdx +1 -1
  173. package/docs/zh/guide/advance/build-umd.mdx +3 -3
  174. package/docs/zh/guide/advance/copy.md +5 -5
  175. package/docs/zh/guide/advance/external-dependency.mdx +3 -3
  176. package/docs/zh/guide/advance/in-depth-about-build.md +7 -7
  177. package/docs/zh/guide/advance/in-depth-about-dev-command.md +1 -1
  178. package/docs/zh/guide/advance/theme-config.mdx +2 -2
  179. package/docs/zh/guide/basic/before-getting-started.md +1 -1
  180. package/docs/zh/guide/basic/command-preview.md +2 -2
  181. package/docs/zh/guide/basic/modify-output-product.md +30 -30
  182. package/docs/zh/guide/basic/publish-your-project.md +4 -4
  183. package/docs/zh/guide/basic/test-your-project.mdx +5 -3
  184. package/docs/zh/guide/basic/use-micro-generator.md +5 -5
  185. package/docs/zh/guide/basic/using-storybook.mdx +6 -4
  186. package/docs/zh/guide/best-practices/components.mdx +10 -10
  187. package/docs/zh/guide/intro/getting-started.md +2 -2
  188. package/docs/zh/index.md +1 -1
  189. package/docs/zh/plugins/guide/getting-started.mdx +3 -3
  190. package/docs/zh/plugins/guide/setup-function.mdx +2 -2
  191. package/modern.config.ts +4 -3
  192. package/package.json +3 -3
@@ -0,0 +1,3810 @@
1
+ "use strict";
2
+ (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["en_guide_advance_external-dependency"],{
3
+
4
+ /***/ "./docs/en/guide/advance/external-dependency.mdx":
5
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
+
7
+ __webpack_require__.r(__webpack_exports__);
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ "CH": function() { return /* binding */ CH; },
10
+ /* harmony export */ "chCodeConfig": function() { return /* binding */ chCodeConfig; },
11
+ /* harmony export */ "content": function() { return /* binding */ content; },
12
+ /* harmony export */ "frontmatter": function() { return /* binding */ frontmatter; },
13
+ /* harmony export */ "title": function() { return /* binding */ title; },
14
+ /* harmony export */ "toc": function() { return /* binding */ toc; }
15
+ /* harmony export */ });
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");
17
+ /* harmony import */ var _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@code-hike+mdx@0.7.4_react@18.2.0/node_modules/@code-hike/mdx/dist/components.esm.mjs");
18
+ /*@jsxRuntime automatic @jsxImportSource react*/
19
+
20
+
21
+ var CH = {
22
+ annotations: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.annotations,
23
+ Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code,
24
+ Spotlight: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Spotlight,
25
+ CodeSlot: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.CodeSlot
26
+ };
27
+ var chCodeConfig = {
28
+ "staticMediaQuery": "not screen, (max-width: 768px)",
29
+ "theme": {
30
+ "name": "nord",
31
+ "type": "dark",
32
+ "semanticHighlighting": true,
33
+ "colors": {
34
+ "focusBorder": "#3b4252",
35
+ "foreground": "#d8dee9",
36
+ "activityBar.background": "#2e3440",
37
+ "activityBar.dropBackground": "#3b4252",
38
+ "activityBar.foreground": "#d8dee9",
39
+ "activityBar.activeBorder": "#88c0d0",
40
+ "activityBar.activeBackground": "#3b4252",
41
+ "activityBarBadge.background": "#88c0d0",
42
+ "activityBarBadge.foreground": "#2e3440",
43
+ "badge.foreground": "#2e3440",
44
+ "badge.background": "#88c0d0",
45
+ "button.background": "#88c0d0ee",
46
+ "button.foreground": "#2e3440",
47
+ "button.hoverBackground": "#88c0d0",
48
+ "button.secondaryBackground": "#434c5e",
49
+ "button.secondaryForeground": "#d8dee9",
50
+ "button.secondaryHoverBackground": "#4c566a",
51
+ "charts.red": "#bf616a",
52
+ "charts.blue": "#81a1c1",
53
+ "charts.yellow": "#ebcb8b",
54
+ "charts.orange": "#d08770",
55
+ "charts.green": "#a3be8c",
56
+ "charts.purple": "#b48ead",
57
+ "charts.foreground": "#d8dee9",
58
+ "charts.lines": "#88c0d0",
59
+ "debugConsole.infoForeground": "#88c0d0",
60
+ "debugConsole.warningForeground": "#ebcb8b",
61
+ "debugConsole.errorForeground": "#bf616a",
62
+ "debugConsole.sourceForeground": "#616e88",
63
+ "debugConsoleInputIcon.foreground": "#81a1c1",
64
+ "debugExceptionWidget.background": "#4c566a",
65
+ "debugExceptionWidget.border": "#2e3440",
66
+ "debugToolBar.background": "#3b4252",
67
+ "descriptionForeground": "#d8dee9e6",
68
+ "diffEditor.insertedTextBackground": "#81a1c133",
69
+ "diffEditor.removedTextBackground": "#bf616a4d",
70
+ "dropdown.background": "#3b4252",
71
+ "dropdown.border": "#3b4252",
72
+ "dropdown.foreground": "#d8dee9",
73
+ "editorActiveLineNumber.foreground": "#d8dee9cc",
74
+ "editorCursor.foreground": "#d8dee9",
75
+ "editorHint.border": "#ebcb8b00",
76
+ "editorHint.foreground": "#ebcb8b",
77
+ "editorIndentGuide.background": "#434c5eb3",
78
+ "editorIndentGuide.activeBackground": "#4c566a",
79
+ "editorInlayHint.background": "#434c5e",
80
+ "editorInlayHint.foreground": "#d8dee9",
81
+ "editorLineNumber.foreground": "#4c566a",
82
+ "editorLineNumber.activeForeground": "#d8dee9",
83
+ "editorWhitespace.foreground": "#4c566ab3",
84
+ "editorWidget.background": "#2e3440",
85
+ "editorWidget.border": "#3b4252",
86
+ "editor.background": "#2e3440",
87
+ "editor.foreground": "#d8dee9",
88
+ "editor.hoverHighlightBackground": "#3b4252",
89
+ "editor.findMatchBackground": "#88c0d066",
90
+ "editor.findMatchHighlightBackground": "#88c0d033",
91
+ "editor.findRangeHighlightBackground": "#88c0d033",
92
+ "editor.lineHighlightBackground": "#3b4252",
93
+ "editor.lineHighlightBorder": "#3b4252",
94
+ "editor.inactiveSelectionBackground": "#434c5ecc",
95
+ "editor.inlineValuesBackground": "#4c566a",
96
+ "editor.inlineValuesForeground": "#eceff4",
97
+ "editor.selectionBackground": "#434c5ecc",
98
+ "editor.selectionHighlightBackground": "#434c5ecc",
99
+ "editor.rangeHighlightBackground": "#434c5e52",
100
+ "editor.wordHighlightBackground": "#81a1c166",
101
+ "editor.wordHighlightStrongBackground": "#81a1c199",
102
+ "editor.stackFrameHighlightBackground": "#5e81ac",
103
+ "editor.focusedStackFrameHighlightBackground": "#5e81ac",
104
+ "editorError.foreground": "#bf616a",
105
+ "editorError.border": "#bf616a00",
106
+ "editorWarning.foreground": "#ebcb8b",
107
+ "editorWarning.border": "#ebcb8b00",
108
+ "editorBracketMatch.background": "#2e344000",
109
+ "editorBracketMatch.border": "#88c0d0",
110
+ "editorBracketHighlight.foreground1": "#8fbcbb",
111
+ "editorBracketHighlight.foreground2": "#88c0d0",
112
+ "editorBracketHighlight.foreground3": "#81a1c1",
113
+ "editorBracketHighlight.foreground4": "#5e81ac",
114
+ "editorBracketHighlight.foreground5": "#8fbcbb",
115
+ "editorBracketHighlight.foreground6": "#88c0d0",
116
+ "editorBracketHighlight.unexpectedBracket.foreground": "#bf616a",
117
+ "editorCodeLens.foreground": "#4c566a",
118
+ "editorGroup.background": "#2e3440",
119
+ "editorGroup.border": "#3b425201",
120
+ "editorGroup.dropBackground": "#3b425299",
121
+ "editorGroupHeader.border": "#3b425200",
122
+ "editorGroupHeader.noTabsBackground": "#2e3440",
123
+ "editorGroupHeader.tabsBackground": "#2e3440",
124
+ "editorGroupHeader.tabsBorder": "#3b425200",
125
+ "editorGutter.background": "#2e3440",
126
+ "editorGutter.modifiedBackground": "#ebcb8b",
127
+ "editorGutter.addedBackground": "#a3be8c",
128
+ "editorGutter.deletedBackground": "#bf616a",
129
+ "editorHoverWidget.background": "#3b4252",
130
+ "editorHoverWidget.border": "#3b4252",
131
+ "editorLink.activeForeground": "#88c0d0",
132
+ "editorMarkerNavigation.background": "#5e81acc0",
133
+ "editorMarkerNavigationError.background": "#bf616ac0",
134
+ "editorMarkerNavigationWarning.background": "#ebcb8bc0",
135
+ "editorOverviewRuler.border": "#3b4252",
136
+ "editorOverviewRuler.currentContentForeground": "#3b4252",
137
+ "editorOverviewRuler.incomingContentForeground": "#3b4252",
138
+ "editorOverviewRuler.findMatchForeground": "#88c0d066",
139
+ "editorOverviewRuler.rangeHighlightForeground": "#88c0d066",
140
+ "editorOverviewRuler.selectionHighlightForeground": "#88c0d066",
141
+ "editorOverviewRuler.wordHighlightForeground": "#88c0d066",
142
+ "editorOverviewRuler.wordHighlightStrongForeground": "#88c0d066",
143
+ "editorOverviewRuler.modifiedForeground": "#ebcb8b",
144
+ "editorOverviewRuler.addedForeground": "#a3be8c",
145
+ "editorOverviewRuler.deletedForeground": "#bf616a",
146
+ "editorOverviewRuler.errorForeground": "#bf616a",
147
+ "editorOverviewRuler.warningForeground": "#ebcb8b",
148
+ "editorOverviewRuler.infoForeground": "#81a1c1",
149
+ "editorRuler.foreground": "#434c5e",
150
+ "editorSuggestWidget.background": "#2e3440",
151
+ "editorSuggestWidget.border": "#3b4252",
152
+ "editorSuggestWidget.foreground": "#d8dee9",
153
+ "editorSuggestWidget.focusHighlightForeground": "#88c0d0",
154
+ "editorSuggestWidget.highlightForeground": "#88c0d0",
155
+ "editorSuggestWidget.selectedBackground": "#434c5e",
156
+ "editorSuggestWidget.selectedForeground": "#d8dee9",
157
+ "extensionButton.prominentForeground": "#d8dee9",
158
+ "extensionButton.prominentBackground": "#434c5e",
159
+ "extensionButton.prominentHoverBackground": "#4c566a",
160
+ "errorForeground": "#bf616a",
161
+ "gitDecoration.modifiedResourceForeground": "#ebcb8b",
162
+ "gitDecoration.deletedResourceForeground": "#bf616a",
163
+ "gitDecoration.untrackedResourceForeground": "#a3be8c",
164
+ "gitDecoration.ignoredResourceForeground": "#d8dee966",
165
+ "gitDecoration.conflictingResourceForeground": "#5e81ac",
166
+ "gitDecoration.submoduleResourceForeground": "#8fbcbb",
167
+ "gitDecoration.stageDeletedResourceForeground": "#bf616a",
168
+ "gitDecoration.stageModifiedResourceForeground": "#ebcb8b",
169
+ "input.background": "#3b4252",
170
+ "input.foreground": "#d8dee9",
171
+ "input.placeholderForeground": "#d8dee999",
172
+ "input.border": "#3b4252",
173
+ "inputOption.activeBackground": "#5e81ac",
174
+ "inputOption.activeBorder": "#5e81ac",
175
+ "inputOption.activeForeground": "#eceff4",
176
+ "inputValidation.errorBackground": "#bf616a",
177
+ "inputValidation.errorBorder": "#bf616a",
178
+ "inputValidation.infoBackground": "#81a1c1",
179
+ "inputValidation.infoBorder": "#81a1c1",
180
+ "inputValidation.warningBackground": "#d08770",
181
+ "inputValidation.warningBorder": "#d08770",
182
+ "keybindingLabel.background": "#4c566a",
183
+ "keybindingLabel.border": "#4c566a",
184
+ "keybindingLabel.bottomBorder": "#4c566a",
185
+ "keybindingLabel.foreground": "#d8dee9",
186
+ "list.activeSelectionBackground": "#88c0d0",
187
+ "list.activeSelectionForeground": "#2e3440",
188
+ "list.inactiveSelectionBackground": "#434c5e",
189
+ "list.inactiveSelectionForeground": "#d8dee9",
190
+ "list.inactiveFocusBackground": "#434c5ecc",
191
+ "list.hoverForeground": "#eceff4",
192
+ "list.focusForeground": "#d8dee9",
193
+ "list.focusBackground": "#88c0d099",
194
+ "list.focusHighlightForeground": "#eceff4",
195
+ "list.hoverBackground": "#3b4252",
196
+ "list.dropBackground": "#88c0d099",
197
+ "list.highlightForeground": "#88c0d0",
198
+ "list.errorForeground": "#bf616a",
199
+ "list.warningForeground": "#ebcb8b",
200
+ "merge.currentHeaderBackground": "#81a1c166",
201
+ "merge.currentContentBackground": "#81a1c14d",
202
+ "merge.incomingHeaderBackground": "#8fbcbb66",
203
+ "merge.incomingContentBackground": "#8fbcbb4d",
204
+ "merge.border": "#3b425200",
205
+ "minimap.background": "#2e3440",
206
+ "minimap.errorHighlight": "#bf616acc",
207
+ "minimap.findMatchHighlight": "#88c0d0",
208
+ "minimap.selectionHighlight": "#88c0d0cc",
209
+ "minimap.warningHighlight": "#ebcb8bcc",
210
+ "minimapGutter.addedBackground": "#a3be8c",
211
+ "minimapGutter.deletedBackground": "#bf616a",
212
+ "minimapGutter.modifiedBackground": "#ebcb8b",
213
+ "minimapSlider.activeBackground": "#434c5eaa",
214
+ "minimapSlider.background": "#434c5e99",
215
+ "minimapSlider.hoverBackground": "#434c5eaa",
216
+ "notification.background": "#3b4252",
217
+ "notification.buttonBackground": "#434c5e",
218
+ "notification.buttonForeground": "#d8dee9",
219
+ "notification.buttonHoverBackground": "#4c566a",
220
+ "notification.errorBackground": "#bf616a",
221
+ "notification.errorForeground": "#2e3440",
222
+ "notification.foreground": "#d8dee9",
223
+ "notification.infoBackground": "#88c0d0",
224
+ "notification.infoForeground": "#2e3440",
225
+ "notification.warningBackground": "#ebcb8b",
226
+ "notification.warningForeground": "#2e3440",
227
+ "notificationCenter.border": "#3b425200",
228
+ "notificationCenterHeader.background": "#2e3440",
229
+ "notificationCenterHeader.foreground": "#88c0d0",
230
+ "notificationLink.foreground": "#88c0d0",
231
+ "notifications.background": "#3b4252",
232
+ "notifications.border": "#2e3440",
233
+ "notifications.foreground": "#d8dee9",
234
+ "notificationToast.border": "#3b425200",
235
+ "panel.background": "#2e3440",
236
+ "panel.border": "#3b4252",
237
+ "panelTitle.activeBorder": "#88c0d000",
238
+ "panelTitle.activeForeground": "#88c0d0",
239
+ "panelTitle.inactiveForeground": "#d8dee9",
240
+ "peekView.border": "#4c566a",
241
+ "peekViewEditor.background": "#2e3440",
242
+ "peekViewEditorGutter.background": "#2e3440",
243
+ "peekViewEditor.matchHighlightBackground": "#88c0d04d",
244
+ "peekViewResult.background": "#2e3440",
245
+ "peekViewResult.fileForeground": "#88c0d0",
246
+ "peekViewResult.lineForeground": "#d8dee966",
247
+ "peekViewResult.matchHighlightBackground": "#88c0d0cc",
248
+ "peekViewResult.selectionBackground": "#434c5e",
249
+ "peekViewResult.selectionForeground": "#d8dee9",
250
+ "peekViewTitle.background": "#3b4252",
251
+ "peekViewTitleDescription.foreground": "#d8dee9",
252
+ "peekViewTitleLabel.foreground": "#88c0d0",
253
+ "pickerGroup.border": "#3b4252",
254
+ "pickerGroup.foreground": "#88c0d0",
255
+ "progressBar.background": "#88c0d0",
256
+ "quickInputList.focusBackground": "#88c0d0",
257
+ "quickInputList.focusForeground": "#2e3440",
258
+ "sash.hoverBorder": "#88c0d0",
259
+ "scrollbar.shadow": "#00000066",
260
+ "scrollbarSlider.activeBackground": "#434c5eaa",
261
+ "scrollbarSlider.background": "#434c5e99",
262
+ "scrollbarSlider.hoverBackground": "#434c5eaa",
263
+ "selection.background": "#88c0d099",
264
+ "sideBar.background": "#2e3440",
265
+ "sideBar.foreground": "#d8dee9",
266
+ "sideBar.border": "#3b4252",
267
+ "sideBarSectionHeader.background": "#3b4252",
268
+ "sideBarSectionHeader.foreground": "#d8dee9",
269
+ "sideBarTitle.foreground": "#d8dee9",
270
+ "statusBar.background": "#3b4252",
271
+ "statusBar.debuggingBackground": "#5e81ac",
272
+ "statusBar.debuggingForeground": "#d8dee9",
273
+ "statusBar.noFolderForeground": "#d8dee9",
274
+ "statusBar.noFolderBackground": "#3b4252",
275
+ "statusBar.foreground": "#d8dee9",
276
+ "statusBarItem.activeBackground": "#4c566a",
277
+ "statusBarItem.hoverBackground": "#434c5e",
278
+ "statusBarItem.prominentBackground": "#3b4252",
279
+ "statusBarItem.prominentHoverBackground": "#434c5e",
280
+ "statusBarItem.errorBackground": "#3b4252",
281
+ "statusBarItem.errorForeground": "#bf616a",
282
+ "statusBarItem.warningBackground": "#ebcb8b",
283
+ "statusBarItem.warningForeground": "#2e3440",
284
+ "statusBar.border": "#3b425200",
285
+ "tab.activeBackground": "#3b4252",
286
+ "tab.activeForeground": "#d8dee9",
287
+ "tab.border": "#3b425200",
288
+ "tab.activeBorder": "#88c0d000",
289
+ "tab.unfocusedActiveBorder": "#88c0d000",
290
+ "tab.inactiveBackground": "#2e3440",
291
+ "tab.inactiveForeground": "#d8dee966",
292
+ "tab.unfocusedActiveForeground": "#d8dee999",
293
+ "tab.unfocusedInactiveForeground": "#d8dee966",
294
+ "tab.hoverBackground": "#3b4252cc",
295
+ "tab.unfocusedHoverBackground": "#3b4252b3",
296
+ "tab.hoverBorder": "#88c0d000",
297
+ "tab.unfocusedHoverBorder": "#88c0d000",
298
+ "tab.activeBorderTop": "#88c0d000",
299
+ "tab.unfocusedActiveBorderTop": "#88c0d000",
300
+ "tab.lastPinnedBorder": "#4c566a",
301
+ "terminal.background": "#2e3440",
302
+ "terminal.foreground": "#d8dee9",
303
+ "terminal.ansiBlack": "#3b4252",
304
+ "terminal.ansiRed": "#bf616a",
305
+ "terminal.ansiGreen": "#a3be8c",
306
+ "terminal.ansiYellow": "#ebcb8b",
307
+ "terminal.ansiBlue": "#81a1c1",
308
+ "terminal.ansiMagenta": "#b48ead",
309
+ "terminal.ansiCyan": "#88c0d0",
310
+ "terminal.ansiWhite": "#e5e9f0",
311
+ "terminal.ansiBrightBlack": "#4c566a",
312
+ "terminal.ansiBrightRed": "#bf616a",
313
+ "terminal.ansiBrightGreen": "#a3be8c",
314
+ "terminal.ansiBrightYellow": "#ebcb8b",
315
+ "terminal.ansiBrightBlue": "#81a1c1",
316
+ "terminal.ansiBrightMagenta": "#b48ead",
317
+ "terminal.ansiBrightCyan": "#8fbcbb",
318
+ "terminal.ansiBrightWhite": "#eceff4",
319
+ "terminal.tab.activeBorder": "#88c0d0",
320
+ "textBlockQuote.background": "#3b4252",
321
+ "textBlockQuote.border": "#81a1c1",
322
+ "textCodeBlock.background": "#4c566a",
323
+ "textLink.activeForeground": "#88c0d0",
324
+ "textLink.foreground": "#88c0d0",
325
+ "textPreformat.foreground": "#8fbcbb",
326
+ "textSeparator.foreground": "#eceff4",
327
+ "titleBar.activeBackground": "#2e3440",
328
+ "titleBar.activeForeground": "#d8dee9",
329
+ "titleBar.border": "#2e344000",
330
+ "titleBar.inactiveBackground": "#2e3440",
331
+ "titleBar.inactiveForeground": "#d8dee966",
332
+ "tree.indentGuidesStroke": "#616e88",
333
+ "walkThrough.embeddedEditorBackground": "#2e3440",
334
+ "welcomePage.buttonBackground": "#434c5e",
335
+ "welcomePage.buttonHoverBackground": "#4c566a",
336
+ "widget.shadow": "#00000066"
337
+ },
338
+ "tokenColors": [{
339
+ "settings": {
340
+ "foreground": "#d8dee9ff",
341
+ "background": "#2e3440ff"
342
+ }
343
+ }, {
344
+ "scope": "emphasis",
345
+ "settings": {
346
+ "fontStyle": "italic"
347
+ }
348
+ }, {
349
+ "scope": "strong",
350
+ "settings": {
351
+ "fontStyle": "bold"
352
+ }
353
+ }, {
354
+ "name": "Comment",
355
+ "scope": "comment",
356
+ "settings": {
357
+ "foreground": "#616E88"
358
+ }
359
+ }, {
360
+ "name": "Constant Character",
361
+ "scope": "constant.character",
362
+ "settings": {
363
+ "foreground": "#EBCB8B"
364
+ }
365
+ }, {
366
+ "name": "Constant Character Escape",
367
+ "scope": "constant.character.escape",
368
+ "settings": {
369
+ "foreground": "#EBCB8B"
370
+ }
371
+ }, {
372
+ "name": "Constant Language",
373
+ "scope": "constant.language",
374
+ "settings": {
375
+ "foreground": "#81A1C1"
376
+ }
377
+ }, {
378
+ "name": "Constant Numeric",
379
+ "scope": "constant.numeric",
380
+ "settings": {
381
+ "foreground": "#B48EAD"
382
+ }
383
+ }, {
384
+ "name": "Constant Regexp",
385
+ "scope": "constant.regexp",
386
+ "settings": {
387
+ "foreground": "#EBCB8B"
388
+ }
389
+ }, {
390
+ "name": "Entity Name Class/Type",
391
+ "scope": ["entity.name.class", "entity.name.type.class"],
392
+ "settings": {
393
+ "foreground": "#8FBCBB"
394
+ }
395
+ }, {
396
+ "name": "Entity Name Function",
397
+ "scope": "entity.name.function",
398
+ "settings": {
399
+ "foreground": "#88C0D0"
400
+ }
401
+ }, {
402
+ "name": "Entity Name Tag",
403
+ "scope": "entity.name.tag",
404
+ "settings": {
405
+ "foreground": "#81A1C1"
406
+ }
407
+ }, {
408
+ "name": "Entity Other Attribute Name",
409
+ "scope": "entity.other.attribute-name",
410
+ "settings": {
411
+ "foreground": "#8FBCBB"
412
+ }
413
+ }, {
414
+ "name": "Entity Other Inherited Class",
415
+ "scope": "entity.other.inherited-class",
416
+ "settings": {
417
+ "fontStyle": "bold",
418
+ "foreground": "#8FBCBB"
419
+ }
420
+ }, {
421
+ "name": "Invalid Deprecated",
422
+ "scope": "invalid.deprecated",
423
+ "settings": {
424
+ "foreground": "#D8DEE9",
425
+ "background": "#EBCB8B"
426
+ }
427
+ }, {
428
+ "name": "Invalid Illegal",
429
+ "scope": "invalid.illegal",
430
+ "settings": {
431
+ "foreground": "#D8DEE9",
432
+ "background": "#BF616A"
433
+ }
434
+ }, {
435
+ "name": "Keyword",
436
+ "scope": "keyword",
437
+ "settings": {
438
+ "foreground": "#81A1C1"
439
+ }
440
+ }, {
441
+ "name": "Keyword Operator",
442
+ "scope": "keyword.operator",
443
+ "settings": {
444
+ "foreground": "#81A1C1"
445
+ }
446
+ }, {
447
+ "name": "Keyword Other New",
448
+ "scope": "keyword.other.new",
449
+ "settings": {
450
+ "foreground": "#81A1C1"
451
+ }
452
+ }, {
453
+ "name": "Markup Bold",
454
+ "scope": "markup.bold",
455
+ "settings": {
456
+ "fontStyle": "bold"
457
+ }
458
+ }, {
459
+ "name": "Markup Changed",
460
+ "scope": "markup.changed",
461
+ "settings": {
462
+ "foreground": "#EBCB8B"
463
+ }
464
+ }, {
465
+ "name": "Markup Deleted",
466
+ "scope": "markup.deleted",
467
+ "settings": {
468
+ "foreground": "#BF616A"
469
+ }
470
+ }, {
471
+ "name": "Markup Inserted",
472
+ "scope": "markup.inserted",
473
+ "settings": {
474
+ "foreground": "#A3BE8C"
475
+ }
476
+ }, {
477
+ "name": "Meta Preprocessor",
478
+ "scope": "meta.preprocessor",
479
+ "settings": {
480
+ "foreground": "#5E81AC"
481
+ }
482
+ }, {
483
+ "name": "Punctuation",
484
+ "scope": "punctuation",
485
+ "settings": {
486
+ "foreground": "#ECEFF4"
487
+ }
488
+ }, {
489
+ "name": "Punctuation Definition Parameters",
490
+ "scope": ["punctuation.definition.method-parameters", "punctuation.definition.function-parameters", "punctuation.definition.parameters"],
491
+ "settings": {
492
+ "foreground": "#ECEFF4"
493
+ }
494
+ }, {
495
+ "name": "Punctuation Definition Tag",
496
+ "scope": "punctuation.definition.tag",
497
+ "settings": {
498
+ "foreground": "#81A1C1"
499
+ }
500
+ }, {
501
+ "name": "Punctuation Definition Comment",
502
+ "scope": ["punctuation.definition.comment", "punctuation.end.definition.comment", "punctuation.start.definition.comment"],
503
+ "settings": {
504
+ "foreground": "#616E88"
505
+ }
506
+ }, {
507
+ "name": "Punctuation Section",
508
+ "scope": "punctuation.section",
509
+ "settings": {
510
+ "foreground": "#ECEFF4"
511
+ }
512
+ }, {
513
+ "name": "Punctuation Section Embedded",
514
+ "scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
515
+ "settings": {
516
+ "foreground": "#81A1C1"
517
+ }
518
+ }, {
519
+ "name": "Punctuation Terminator",
520
+ "scope": "punctuation.terminator",
521
+ "settings": {
522
+ "foreground": "#81A1C1"
523
+ }
524
+ }, {
525
+ "name": "Punctuation Variable",
526
+ "scope": "punctuation.definition.variable",
527
+ "settings": {
528
+ "foreground": "#81A1C1"
529
+ }
530
+ }, {
531
+ "name": "Storage",
532
+ "scope": "storage",
533
+ "settings": {
534
+ "foreground": "#81A1C1"
535
+ }
536
+ }, {
537
+ "name": "String",
538
+ "scope": "string",
539
+ "settings": {
540
+ "foreground": "#A3BE8C"
541
+ }
542
+ }, {
543
+ "name": "String Regexp",
544
+ "scope": "string.regexp",
545
+ "settings": {
546
+ "foreground": "#EBCB8B"
547
+ }
548
+ }, {
549
+ "name": "Support Class",
550
+ "scope": "support.class",
551
+ "settings": {
552
+ "foreground": "#8FBCBB"
553
+ }
554
+ }, {
555
+ "name": "Support Constant",
556
+ "scope": "support.constant",
557
+ "settings": {
558
+ "foreground": "#81A1C1"
559
+ }
560
+ }, {
561
+ "name": "Support Function",
562
+ "scope": "support.function",
563
+ "settings": {
564
+ "foreground": "#88C0D0"
565
+ }
566
+ }, {
567
+ "name": "Support Function Construct",
568
+ "scope": "support.function.construct",
569
+ "settings": {
570
+ "foreground": "#81A1C1"
571
+ }
572
+ }, {
573
+ "name": "Support Type",
574
+ "scope": "support.type",
575
+ "settings": {
576
+ "foreground": "#8FBCBB"
577
+ }
578
+ }, {
579
+ "name": "Support Type Exception",
580
+ "scope": "support.type.exception",
581
+ "settings": {
582
+ "foreground": "#8FBCBB"
583
+ }
584
+ }, {
585
+ "name": "Token Debug",
586
+ "scope": "token.debug-token",
587
+ "settings": {
588
+ "foreground": "#b48ead"
589
+ }
590
+ }, {
591
+ "name": "Token Error",
592
+ "scope": "token.error-token",
593
+ "settings": {
594
+ "foreground": "#bf616a"
595
+ }
596
+ }, {
597
+ "name": "Token Info",
598
+ "scope": "token.info-token",
599
+ "settings": {
600
+ "foreground": "#88c0d0"
601
+ }
602
+ }, {
603
+ "name": "Token Warning",
604
+ "scope": "token.warn-token",
605
+ "settings": {
606
+ "foreground": "#ebcb8b"
607
+ }
608
+ }, {
609
+ "name": "Variable",
610
+ "scope": "variable.other",
611
+ "settings": {
612
+ "foreground": "#D8DEE9"
613
+ }
614
+ }, {
615
+ "name": "Variable Language",
616
+ "scope": "variable.language",
617
+ "settings": {
618
+ "foreground": "#81A1C1"
619
+ }
620
+ }, {
621
+ "name": "Variable Parameter",
622
+ "scope": "variable.parameter",
623
+ "settings": {
624
+ "foreground": "#D8DEE9"
625
+ }
626
+ }, {
627
+ "name": "[C/CPP] Punctuation Separator Pointer-Access",
628
+ "scope": "punctuation.separator.pointer-access.c",
629
+ "settings": {
630
+ "foreground": "#81A1C1"
631
+ }
632
+ }, {
633
+ "name": "[C/CPP] Meta Preprocessor Include",
634
+ "scope": ["source.c meta.preprocessor.include", "source.c string.quoted.other.lt-gt.include"],
635
+ "settings": {
636
+ "foreground": "#8FBCBB"
637
+ }
638
+ }, {
639
+ "name": "[C/CPP] Conditional Directive",
640
+ "scope": ["source.cpp keyword.control.directive.conditional", "source.cpp punctuation.definition.directive", "source.c keyword.control.directive.conditional", "source.c punctuation.definition.directive"],
641
+ "settings": {
642
+ "foreground": "#5E81AC",
643
+ "fontStyle": "bold"
644
+ }
645
+ }, {
646
+ "name": "[CSS] Constant Other Color RGB Value",
647
+ "scope": "source.css constant.other.color.rgb-value",
648
+ "settings": {
649
+ "foreground": "#B48EAD"
650
+ }
651
+ }, {
652
+ "name": "[CSS](Function) Meta Property-Value",
653
+ "scope": "source.css meta.property-value",
654
+ "settings": {
655
+ "foreground": "#88C0D0"
656
+ }
657
+ }, {
658
+ "name": "[CSS] Media Queries",
659
+ "scope": ["source.css keyword.control.at-rule.media", "source.css keyword.control.at-rule.media punctuation.definition.keyword"],
660
+ "settings": {
661
+ "foreground": "#D08770"
662
+ }
663
+ }, {
664
+ "name": "[CSS] Punctuation Definition Keyword",
665
+ "scope": "source.css punctuation.definition.keyword",
666
+ "settings": {
667
+ "foreground": "#81A1C1"
668
+ }
669
+ }, {
670
+ "name": "[CSS] Support Type Property Name",
671
+ "scope": "source.css support.type.property-name",
672
+ "settings": {
673
+ "foreground": "#D8DEE9"
674
+ }
675
+ }, {
676
+ "name": "[diff] Meta Range Context",
677
+ "scope": "source.diff meta.diff.range.context",
678
+ "settings": {
679
+ "foreground": "#8FBCBB"
680
+ }
681
+ }, {
682
+ "name": "[diff] Meta Header From-File",
683
+ "scope": "source.diff meta.diff.header.from-file",
684
+ "settings": {
685
+ "foreground": "#8FBCBB"
686
+ }
687
+ }, {
688
+ "name": "[diff] Punctuation Definition From-File",
689
+ "scope": "source.diff punctuation.definition.from-file",
690
+ "settings": {
691
+ "foreground": "#8FBCBB"
692
+ }
693
+ }, {
694
+ "name": "[diff] Punctuation Definition Range",
695
+ "scope": "source.diff punctuation.definition.range",
696
+ "settings": {
697
+ "foreground": "#8FBCBB"
698
+ }
699
+ }, {
700
+ "name": "[diff] Punctuation Definition Separator",
701
+ "scope": "source.diff punctuation.definition.separator",
702
+ "settings": {
703
+ "foreground": "#81A1C1"
704
+ }
705
+ }, {
706
+ "name": "[Elixir](JakeBecker.elixir-ls) module names",
707
+ "scope": "entity.name.type.module.elixir",
708
+ "settings": {
709
+ "foreground": "#8FBCBB"
710
+ }
711
+ }, {
712
+ "name": "[Elixir](JakeBecker.elixir-ls) module attributes",
713
+ "scope": "variable.other.readwrite.module.elixir",
714
+ "settings": {
715
+ "foreground": "#D8DEE9",
716
+ "fontStyle": "bold"
717
+ }
718
+ }, {
719
+ "name": "[Elixir](JakeBecker.elixir-ls) atoms",
720
+ "scope": "constant.other.symbol.elixir",
721
+ "settings": {
722
+ "foreground": "#D8DEE9",
723
+ "fontStyle": "bold"
724
+ }
725
+ }, {
726
+ "name": "[Elixir](JakeBecker.elixir-ls) modules",
727
+ "scope": "variable.other.constant.elixir",
728
+ "settings": {
729
+ "foreground": "#8FBCBB"
730
+ }
731
+ }, {
732
+ "name": "[Go] String Format Placeholder",
733
+ "scope": "source.go constant.other.placeholder.go",
734
+ "settings": {
735
+ "foreground": "#EBCB8B"
736
+ }
737
+ }, {
738
+ "name": "[Java](JavaDoc) Comment Block Documentation HTML Entities",
739
+ "scope": "source.java comment.block.documentation.javadoc punctuation.definition.entity.html",
740
+ "settings": {
741
+ "foreground": "#81A1C1"
742
+ }
743
+ }, {
744
+ "name": "[Java](JavaDoc) Constant Other",
745
+ "scope": "source.java constant.other",
746
+ "settings": {
747
+ "foreground": "#D8DEE9"
748
+ }
749
+ }, {
750
+ "name": "[Java](JavaDoc) Keyword Other Documentation",
751
+ "scope": "source.java keyword.other.documentation",
752
+ "settings": {
753
+ "foreground": "#8FBCBB"
754
+ }
755
+ }, {
756
+ "name": "[Java](JavaDoc) Keyword Other Documentation Author",
757
+ "scope": "source.java keyword.other.documentation.author.javadoc",
758
+ "settings": {
759
+ "foreground": "#8FBCBB"
760
+ }
761
+ }, {
762
+ "name": "[Java](JavaDoc) Keyword Other Documentation Directive/Custom",
763
+ "scope": ["source.java keyword.other.documentation.directive", "source.java keyword.other.documentation.custom"],
764
+ "settings": {
765
+ "foreground": "#8FBCBB"
766
+ }
767
+ }, {
768
+ "name": "[Java](JavaDoc) Keyword Other Documentation See",
769
+ "scope": "source.java keyword.other.documentation.see.javadoc",
770
+ "settings": {
771
+ "foreground": "#8FBCBB"
772
+ }
773
+ }, {
774
+ "name": "[Java] Meta Method-Call",
775
+ "scope": "source.java meta.method-call meta.method",
776
+ "settings": {
777
+ "foreground": "#88C0D0"
778
+ }
779
+ }, {
780
+ "name": "[Java](JavaDoc) Meta Tag Template Link",
781
+ "scope": ["source.java meta.tag.template.link.javadoc", "source.java string.other.link.title.javadoc"],
782
+ "settings": {
783
+ "foreground": "#8FBCBB"
784
+ }
785
+ }, {
786
+ "name": "[Java](JavaDoc) Meta Tag Template Value",
787
+ "scope": "source.java meta.tag.template.value.javadoc",
788
+ "settings": {
789
+ "foreground": "#88C0D0"
790
+ }
791
+ }, {
792
+ "name": "[Java](JavaDoc) Punctuation Definition Keyword",
793
+ "scope": "source.java punctuation.definition.keyword.javadoc",
794
+ "settings": {
795
+ "foreground": "#8FBCBB"
796
+ }
797
+ }, {
798
+ "name": "[Java](JavaDoc) Punctuation Definition Tag",
799
+ "scope": ["source.java punctuation.definition.tag.begin.javadoc", "source.java punctuation.definition.tag.end.javadoc"],
800
+ "settings": {
801
+ "foreground": "#616E88"
802
+ }
803
+ }, {
804
+ "name": "[Java] Storage Modifier Import",
805
+ "scope": "source.java storage.modifier.import",
806
+ "settings": {
807
+ "foreground": "#8FBCBB"
808
+ }
809
+ }, {
810
+ "name": "[Java] Storage Modifier Package",
811
+ "scope": "source.java storage.modifier.package",
812
+ "settings": {
813
+ "foreground": "#8FBCBB"
814
+ }
815
+ }, {
816
+ "name": "[Java] Storage Type",
817
+ "scope": "source.java storage.type",
818
+ "settings": {
819
+ "foreground": "#8FBCBB"
820
+ }
821
+ }, {
822
+ "name": "[Java] Storage Type Annotation",
823
+ "scope": "source.java storage.type.annotation",
824
+ "settings": {
825
+ "foreground": "#D08770"
826
+ }
827
+ }, {
828
+ "name": "[Java] Storage Type Generic",
829
+ "scope": "source.java storage.type.generic",
830
+ "settings": {
831
+ "foreground": "#8FBCBB"
832
+ }
833
+ }, {
834
+ "name": "[Java] Storage Type Primitive",
835
+ "scope": "source.java storage.type.primitive",
836
+ "settings": {
837
+ "foreground": "#81A1C1"
838
+ }
839
+ }, {
840
+ "name": "[JavaScript] Decorator",
841
+ "scope": ["source.js punctuation.decorator", "source.js meta.decorator variable.other.readwrite", "source.js meta.decorator entity.name.function"],
842
+ "settings": {
843
+ "foreground": "#D08770"
844
+ }
845
+ }, {
846
+ "name": "[JavaScript] Meta Object-Literal Key",
847
+ "scope": "source.js meta.object-literal.key",
848
+ "settings": {
849
+ "foreground": "#88C0D0"
850
+ }
851
+ }, {
852
+ "name": "[JavaScript](JSDoc) Storage Type Class",
853
+ "scope": "source.js storage.type.class.jsdoc",
854
+ "settings": {
855
+ "foreground": "#8FBCBB"
856
+ }
857
+ }, {
858
+ "name": "[JavaScript] String Template Literals Punctuation",
859
+ "scope": ["source.js string.quoted.template punctuation.quasi.element.begin", "source.js string.quoted.template punctuation.quasi.element.end", "source.js string.template punctuation.definition.template-expression"],
860
+ "settings": {
861
+ "foreground": "#81A1C1"
862
+ }
863
+ }, {
864
+ "name": "[JavaScript] Interpolated String Template Punctuation Functions",
865
+ "scope": "source.js string.quoted.template meta.method-call.with-arguments",
866
+ "settings": {
867
+ "foreground": "#ECEFF4"
868
+ }
869
+ }, {
870
+ "name": "[JavaScript] String Template Literal Variable",
871
+ "scope": ["source.js string.template meta.template.expression support.variable.property", "source.js string.template meta.template.expression variable.other.object"],
872
+ "settings": {
873
+ "foreground": "#D8DEE9"
874
+ }
875
+ }, {
876
+ "name": "[JavaScript] Support Type Primitive",
877
+ "scope": "source.js support.type.primitive",
878
+ "settings": {
879
+ "foreground": "#81A1C1"
880
+ }
881
+ }, {
882
+ "name": "[JavaScript] Variable Other Object",
883
+ "scope": "source.js variable.other.object",
884
+ "settings": {
885
+ "foreground": "#D8DEE9"
886
+ }
887
+ }, {
888
+ "name": "[JavaScript] Variable Other Read-Write Alias",
889
+ "scope": "source.js variable.other.readwrite.alias",
890
+ "settings": {
891
+ "foreground": "#8FBCBB"
892
+ }
893
+ }, {
894
+ "name": "[JavaScript] Parentheses in Template Strings",
895
+ "scope": ["source.js meta.embedded.line meta.brace.square", "source.js meta.embedded.line meta.brace.round", "source.js string.quoted.template meta.brace.square", "source.js string.quoted.template meta.brace.round"],
896
+ "settings": {
897
+ "foreground": "#ECEFF4"
898
+ }
899
+ }, {
900
+ "name": "[HTML] Constant Character Entity",
901
+ "scope": "text.html.basic constant.character.entity.html",
902
+ "settings": {
903
+ "foreground": "#EBCB8B"
904
+ }
905
+ }, {
906
+ "name": "[HTML] Constant Other Inline-Data",
907
+ "scope": "text.html.basic constant.other.inline-data",
908
+ "settings": {
909
+ "foreground": "#D08770",
910
+ "fontStyle": "italic"
911
+ }
912
+ }, {
913
+ "name": "[HTML] Meta Tag SGML Doctype",
914
+ "scope": "text.html.basic meta.tag.sgml.doctype",
915
+ "settings": {
916
+ "foreground": "#5E81AC"
917
+ }
918
+ }, {
919
+ "name": "[HTML] Punctuation Definition Entity",
920
+ "scope": "text.html.basic punctuation.definition.entity",
921
+ "settings": {
922
+ "foreground": "#81A1C1"
923
+ }
924
+ }, {
925
+ "name": "[INI] Entity Name Section Group-Title",
926
+ "scope": "source.properties entity.name.section.group-title.ini",
927
+ "settings": {
928
+ "foreground": "#88C0D0"
929
+ }
930
+ }, {
931
+ "name": "[INI] Punctuation Separator Key-Value",
932
+ "scope": "source.properties punctuation.separator.key-value.ini",
933
+ "settings": {
934
+ "foreground": "#81A1C1"
935
+ }
936
+ }, {
937
+ "name": "[Markdown] Markup Fenced Code Block",
938
+ "scope": ["text.html.markdown markup.fenced_code.block", "text.html.markdown markup.fenced_code.block punctuation.definition"],
939
+ "settings": {
940
+ "foreground": "#8FBCBB"
941
+ }
942
+ }, {
943
+ "name": "[Markdown] Markup Heading",
944
+ "scope": "markup.heading",
945
+ "settings": {
946
+ "foreground": "#88C0D0"
947
+ }
948
+ }, {
949
+ "name": "[Markdown] Markup Inline",
950
+ "scope": ["text.html.markdown markup.inline.raw", "text.html.markdown markup.inline.raw punctuation.definition.raw"],
951
+ "settings": {
952
+ "foreground": "#8FBCBB"
953
+ }
954
+ }, {
955
+ "name": "[Markdown] Markup Italic",
956
+ "scope": "text.html.markdown markup.italic",
957
+ "settings": {
958
+ "fontStyle": "italic"
959
+ }
960
+ }, {
961
+ "name": "[Markdown] Markup Link",
962
+ "scope": "text.html.markdown markup.underline.link",
963
+ "settings": {
964
+ "fontStyle": "underline"
965
+ }
966
+ }, {
967
+ "name": "[Markdown] Markup List Numbered/Unnumbered",
968
+ "scope": "text.html.markdown beginning.punctuation.definition.list",
969
+ "settings": {
970
+ "foreground": "#81A1C1"
971
+ }
972
+ }, {
973
+ "name": "[Markdown] Markup Quote Punctuation Definition",
974
+ "scope": "text.html.markdown beginning.punctuation.definition.quote",
975
+ "settings": {
976
+ "foreground": "#8FBCBB"
977
+ }
978
+ }, {
979
+ "name": "[Markdown] Markup Quote Punctuation Definition",
980
+ "scope": "text.html.markdown markup.quote",
981
+ "settings": {
982
+ "foreground": "#616E88"
983
+ }
984
+ }, {
985
+ "name": "[Markdown] Markup Math Constant",
986
+ "scope": "text.html.markdown constant.character.math.tex",
987
+ "settings": {
988
+ "foreground": "#81A1C1"
989
+ }
990
+ }, {
991
+ "name": "[Markdown] Markup Math Definition Marker",
992
+ "scope": ["text.html.markdown punctuation.definition.math.begin", "text.html.markdown punctuation.definition.math.end"],
993
+ "settings": {
994
+ "foreground": "#5E81AC"
995
+ }
996
+ }, {
997
+ "name": "[Markdown] Markup Math Function Definition Marker",
998
+ "scope": "text.html.markdown punctuation.definition.function.math.tex",
999
+ "settings": {
1000
+ "foreground": "#88C0D0"
1001
+ }
1002
+ }, {
1003
+ "name": "[Markdown] Markup Math Operator",
1004
+ "scope": "text.html.markdown punctuation.math.operator.latex",
1005
+ "settings": {
1006
+ "foreground": "#81A1C1"
1007
+ }
1008
+ }, {
1009
+ "name": "[Markdown] Punctuation Definition Heading",
1010
+ "scope": "text.html.markdown punctuation.definition.heading",
1011
+ "settings": {
1012
+ "foreground": "#81A1C1"
1013
+ }
1014
+ }, {
1015
+ "name": "[Markdown] Punctuation Definition Constant/String",
1016
+ "scope": ["text.html.markdown punctuation.definition.constant", "text.html.markdown punctuation.definition.string"],
1017
+ "settings": {
1018
+ "foreground": "#81A1C1"
1019
+ }
1020
+ }, {
1021
+ "name": "[Markdown] String Other Link Description/Title",
1022
+ "scope": ["text.html.markdown constant.other.reference.link", "text.html.markdown string.other.link.description", "text.html.markdown string.other.link.title"],
1023
+ "settings": {
1024
+ "foreground": "#88C0D0"
1025
+ }
1026
+ }, {
1027
+ "name": "[Perl] Perl Sigils",
1028
+ "scope": "source.perl punctuation.definition.variable",
1029
+ "settings": {
1030
+ "foreground": "#D8DEE9"
1031
+ }
1032
+ }, {
1033
+ "name": "[PHP] Meta Function-Call Object",
1034
+ "scope": ["source.php meta.function-call", "source.php meta.function-call.object"],
1035
+ "settings": {
1036
+ "foreground": "#88C0D0"
1037
+ }
1038
+ }, {
1039
+ "name": "[Python] Decorator",
1040
+ "scope": ["source.python entity.name.function.decorator", "source.python meta.function.decorator support.type"],
1041
+ "settings": {
1042
+ "foreground": "#D08770"
1043
+ }
1044
+ }, {
1045
+ "name": "[Python] Function Call",
1046
+ "scope": "source.python meta.function-call.generic",
1047
+ "settings": {
1048
+ "foreground": "#88C0D0"
1049
+ }
1050
+ }, {
1051
+ "name": "[Python] Support Type",
1052
+ "scope": "source.python support.type",
1053
+ "settings": {
1054
+ "foreground": "#88C0D0"
1055
+ }
1056
+ }, {
1057
+ "name": "[Python] Function Parameter",
1058
+ "scope": ["source.python variable.parameter.function.language"],
1059
+ "settings": {
1060
+ "foreground": "#D8DEE9"
1061
+ }
1062
+ }, {
1063
+ "name": "[Python] Function Parameter Special",
1064
+ "scope": ["source.python meta.function.parameters variable.parameter.function.language.special.self"],
1065
+ "settings": {
1066
+ "foreground": "#81A1C1"
1067
+ }
1068
+ }, {
1069
+ "name": "[Rust] Entity types",
1070
+ "scope": "source.rust entity.name.type",
1071
+ "settings": {
1072
+ "foreground": "#8FBCBB"
1073
+ }
1074
+ }, {
1075
+ "name": "[Rust] Macro",
1076
+ "scope": "source.rust meta.macro entity.name.function",
1077
+ "settings": {
1078
+ "fontStyle": "bold",
1079
+ "foreground": "#88C0D0"
1080
+ }
1081
+ }, {
1082
+ "name": "[Rust] Attributes",
1083
+ "scope": ["source.rust meta.attribute", "source.rust meta.attribute punctuation", "source.rust meta.attribute keyword.operator"],
1084
+ "settings": {
1085
+ "foreground": "#5E81AC"
1086
+ }
1087
+ }, {
1088
+ "name": "[Rust] Traits",
1089
+ "scope": "source.rust entity.name.type.trait",
1090
+ "settings": {
1091
+ "fontStyle": "bold"
1092
+ }
1093
+ }, {
1094
+ "name": "[Rust] Interpolation Bracket Curly",
1095
+ "scope": "source.rust punctuation.definition.interpolation",
1096
+ "settings": {
1097
+ "foreground": "#EBCB8B"
1098
+ }
1099
+ }, {
1100
+ "name": "[SCSS] Punctuation Definition Interpolation Bracket Curly",
1101
+ "scope": ["source.css.scss punctuation.definition.interpolation.begin.bracket.curly", "source.css.scss punctuation.definition.interpolation.end.bracket.curly"],
1102
+ "settings": {
1103
+ "foreground": "#81A1C1"
1104
+ }
1105
+ }, {
1106
+ "name": "[SCSS] Variable Interpolation",
1107
+ "scope": "source.css.scss variable.interpolation",
1108
+ "settings": {
1109
+ "foreground": "#D8DEE9",
1110
+ "fontStyle": "italic"
1111
+ }
1112
+ }, {
1113
+ "name": "[TypeScript] Decorators",
1114
+ "scope": ["source.ts punctuation.decorator", "source.ts meta.decorator variable.other.readwrite", "source.ts meta.decorator entity.name.function", "source.tsx punctuation.decorator", "source.tsx meta.decorator variable.other.readwrite", "source.tsx meta.decorator entity.name.function"],
1115
+ "settings": {
1116
+ "foreground": "#D08770"
1117
+ }
1118
+ }, {
1119
+ "name": "[TypeScript] Object-literal keys",
1120
+ "scope": ["source.ts meta.object-literal.key", "source.tsx meta.object-literal.key"],
1121
+ "settings": {
1122
+ "foreground": "#D8DEE9"
1123
+ }
1124
+ }, {
1125
+ "name": "[TypeScript] Object-literal functions",
1126
+ "scope": ["source.ts meta.object-literal.key entity.name.function", "source.tsx meta.object-literal.key entity.name.function"],
1127
+ "settings": {
1128
+ "foreground": "#88C0D0"
1129
+ }
1130
+ }, {
1131
+ "name": "[TypeScript] Type/Class",
1132
+ "scope": ["source.ts support.class", "source.ts support.type", "source.ts entity.name.type", "source.ts entity.name.class", "source.tsx support.class", "source.tsx support.type", "source.tsx entity.name.type", "source.tsx entity.name.class"],
1133
+ "settings": {
1134
+ "foreground": "#8FBCBB"
1135
+ }
1136
+ }, {
1137
+ "name": "[TypeScript] Static Class Support",
1138
+ "scope": ["source.ts support.constant.math", "source.ts support.constant.dom", "source.ts support.constant.json", "source.tsx support.constant.math", "source.tsx support.constant.dom", "source.tsx support.constant.json"],
1139
+ "settings": {
1140
+ "foreground": "#8FBCBB"
1141
+ }
1142
+ }, {
1143
+ "name": "[TypeScript] Variables",
1144
+ "scope": ["source.ts support.variable", "source.tsx support.variable"],
1145
+ "settings": {
1146
+ "foreground": "#D8DEE9"
1147
+ }
1148
+ }, {
1149
+ "name": "[TypeScript] Parentheses in Template Strings",
1150
+ "scope": ["source.ts meta.embedded.line meta.brace.square", "source.ts meta.embedded.line meta.brace.round", "source.tsx meta.embedded.line meta.brace.square", "source.tsx meta.embedded.line meta.brace.round"],
1151
+ "settings": {
1152
+ "foreground": "#ECEFF4"
1153
+ }
1154
+ }, {
1155
+ "name": "[XML] Entity Name Tag Namespace",
1156
+ "scope": "text.xml entity.name.tag.namespace",
1157
+ "settings": {
1158
+ "foreground": "#8FBCBB"
1159
+ }
1160
+ }, {
1161
+ "name": "[XML] Keyword Other Doctype",
1162
+ "scope": "text.xml keyword.other.doctype",
1163
+ "settings": {
1164
+ "foreground": "#5E81AC"
1165
+ }
1166
+ }, {
1167
+ "name": "[XML] Meta Tag Preprocessor",
1168
+ "scope": "text.xml meta.tag.preprocessor entity.name.tag",
1169
+ "settings": {
1170
+ "foreground": "#5E81AC"
1171
+ }
1172
+ }, {
1173
+ "name": "[XML] Entity Name Tag Namespace",
1174
+ "scope": ["text.xml string.unquoted.cdata", "text.xml string.unquoted.cdata punctuation.definition.string"],
1175
+ "settings": {
1176
+ "foreground": "#D08770",
1177
+ "fontStyle": "italic"
1178
+ }
1179
+ }, {
1180
+ "name": "[YAML] Entity Name Tag",
1181
+ "scope": "source.yaml entity.name.tag",
1182
+ "settings": {
1183
+ "foreground": "#8FBCBB"
1184
+ }
1185
+ }]
1186
+ },
1187
+ "autoImport": true,
1188
+ "showCopyButton": true,
1189
+ "skipLanguages": [],
1190
+ "filepath": "/Users/bytedance/modern.js/website/module-tools/docs/en/guide/advance/external-dependency.mdx"
1191
+ };
1192
+ var frontmatter = {
1193
+ "sidebar_position": 4
1194
+ };
1195
+ var toc = [{
1196
+ "id": "default-handling-of-third-party-dependencies",
1197
+ "text": "Default handling of third-party dependencies",
1198
+ "depth": 2
1199
+ }, {
1200
+ "id": "packaging-third-party-dependencies",
1201
+ "text": "Packaging third-party dependencies",
1202
+ "depth": 2
1203
+ }, {
1204
+ "id": "turn-off-default-behavior",
1205
+ "text": "Turn off default behavior",
1206
+ "depth": 3
1207
+ }, {
1208
+ "id": "exclude-specified-third-party-dependencies",
1209
+ "text": "Exclude specified third-party dependencies",
1210
+ "depth": 3
1211
+ }];
1212
+ var title = "How to handle third-party dependencies";
1213
+ var content = "\"---\\nsidebar_position: 4\\n---\\n\\n# How to handle third-party dependencies\\n\\nGenerally, third-party dependencies required by a project can be installed via the `install` command in the package manager. After the third-party dependencies are successfully installed, they will generally appear under `dependencies` and `devDependencies` in the project `package.json`.\\n\\n```json pacakge.json\\n{\\n \\\"dependencies\\\": {},\\n \\\"devDependencies\\\": {}\\n}\\n```\\n\\nDependencies under `\\\"dependencies\\\"` are generally related to project code and builds, and if these third-party dependencies are declared under `\\\"devDependencies\\\"`, then there will be missing dependencies in production environments.\\n\\nIn addition to `\\\"dependencies\\\"`, [`\\\"peerDependencies\\\"`](/en/guide/basic/before-getting-started#peerdependencies) can also declare dependencies that are needed in the production environment, but it puts more emphasis on the existence of these dependencies declared by `\\\"peerDependencies\\\"` in the project's runtime environment, similar to the plugin mechanism.\\n\\n## Default handling of third-party dependencies\\n\\nBy default, third-party dependencies under `\\\"dependencies\\\"` and `\\\"peerDependencies\\\"` are not packaged in the module project\\\\*\\\\*, so:\\n\\n<CH.Spotlight>\\n\\n```json ./v1/package.json\\n{\\n \\\"dependencies\\\": {\\n \\\"react\\\": \\\"^17\\\"\\n },\\n // or\\n \\\"peerDependencies\\\": {\\n \\\"react\\\": \\\"^17\\\"\\n }\\n}\\n```\\n\\n---\\n\\nIf the project has a dependency on `react`.\\n\\n```json ./v1/package.json\\n{\\n \\\"dependencies\\\": {\\n \\\"react\\\": \\\"^17\\\"\\n },\\n // or\\n \\\"peerDependencies\\\": {\\n \\\"react\\\": \\\"^17\\\"\\n }\\n}\\n```\\n\\n---\\n\\nWhen a `react` dependency is used in the source code.\\n\\n```tsx src/index.ts\\nimport React from 'react';\\nconsole.info(React);\\n```\\n\\n---\\n\\nThe `react` code is not packaged into the product at this point.\\n\\n```js dist/index.js\\nimport React from 'react';\\nconsole.info(React);\\n```\\n\\n</CH.Spotlight>\\n\\n## Packaging third-party dependencies\\n\\nHowever there are cases where you want to package these third-party dependencies into the product. The benefits of packaging third-party dependencies into the product are: **Reducing the time spent downloading third-party dependencies**.\\n\\nThis way of handling third-party dependencies is generally more common in developing command-line tools, which can improve the loading speed of command-line tools and give users a better experience.\\n\\nSo how do you enable the packaging of third-party dependencies in your module project?\\n\\nThe following APIs are provided in the build configuration to handle third-party dependencies:\\n\\n- [`buildConfig.autoExternal`](/en/api/config/build-config#autoexternal)\\n- [`buildConfig.externals`](/en/api/config/build-config#externals)\\n\\n### Turn off default behavior\\n\\nWhen we want to turn off the default handling behavior for third-party dependencies, we can do so by:\\n\\n```ts\\nexport default defineConfig({\\n buildConfig: {\\n autoExternal: false,\\n },\\n});\\n```\\n\\nThis way the dependencies under `\\\"dependencies\\\"` and `\\\"peerDependencies\\\"` will be packaged. If you want to turn off the processing of only one of these dependencies, you can use the\\n`buildConfig.autoExternal` in the form of an object.\\n\\n```ts\\nexport default defineConfig({\\n buildConfig: {\\n autoExternal: {\\n dependencies: false,\\n peerDependencies: false,\\n },\\n },\\n});\\n```\\n\\n### Exclude specified third-party dependencies\\n\\nAnd in addition to the `buildConfig.autoExternal` API, `buildConfig.externals` can also control which third-party dependencies are to be handled. We can combine these two\\nAPIs to handle the project's dependencies in a more granular way.\\n\\nFor example, when we need to leave only certain dependencies unpacked, we can configure it as follows.\\n\\n> In this case, it is likely that some dependencies are not suitable for packaging. If this is the case, then you can handle it as follows.\\n\\n```ts\\nepxort default defineConfig({\\n buildConfig: {\\n autoExternal: false,\\n externals: ['pkg-1', /pkg-2/],\\n }\\n});\\n```\\n\"";
1214
+ function _createMdxContent(props) {
1215
+ var _components = Object.assign({
1216
+ h1: "h1",
1217
+ a: "a",
1218
+ p: "p",
1219
+ code: "code",
1220
+ h2: "h2",
1221
+ strong: "strong",
1222
+ ul: "ul",
1223
+ li: "li",
1224
+ h3: "h3",
1225
+ blockquote: "blockquote"
1226
+ }, props.components);
1227
+ if (!CH) _missingMdxReference("CH", false, "9:1-14:4");
1228
+ if (!CH.Code) _missingMdxReference("CH.Code", true, "9:1-14:4");
1229
+ if (!CH.CodeSlot) _missingMdxReference("CH.CodeSlot", true);
1230
+ if (!CH.Spotlight) _missingMdxReference("CH.Spotlight", true, "24:1-72:16");
1231
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1232
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1233
+ id: "how-to-handle-third-party-dependencies",
1234
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1235
+ className: "header-anchor",
1236
+ "aria-hidden": "true",
1237
+ href: "#how-to-handle-third-party-dependencies",
1238
+ children: "#"
1239
+ }), "How to handle third-party dependencies"]
1240
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1241
+ children: ["Generally, third-party dependencies required by a project can be installed via the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1242
+ children: "install"
1243
+ }), " command in the package manager. After the third-party dependencies are successfully installed, they will generally appear under ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1244
+ children: "dependencies"
1245
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1246
+ children: "devDependencies"
1247
+ }), " in the project ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1248
+ children: "package.json"
1249
+ }), "."]
1250
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1251
+ codeConfig: chCodeConfig,
1252
+ northPanel: {
1253
+ "tabs": ["pacakge.json"],
1254
+ "active": "pacakge.json",
1255
+ "heightRatio": 1
1256
+ },
1257
+ files: [{
1258
+ "name": "pacakge.json",
1259
+ "focus": "",
1260
+ "code": {
1261
+ "lines": [{
1262
+ "tokens": [{
1263
+ "content": "{",
1264
+ "props": {
1265
+ "style": {
1266
+ "color": "#ECEFF4"
1267
+ }
1268
+ }
1269
+ }]
1270
+ }, {
1271
+ "tokens": [{
1272
+ "content": " ",
1273
+ "props": {
1274
+ "style": {
1275
+ "color": "#D8DEE9FF"
1276
+ }
1277
+ }
1278
+ }, {
1279
+ "content": "\"",
1280
+ "props": {
1281
+ "style": {
1282
+ "color": "#ECEFF4"
1283
+ }
1284
+ }
1285
+ }, {
1286
+ "content": "dependencies",
1287
+ "props": {
1288
+ "style": {
1289
+ "color": "#8FBCBB"
1290
+ }
1291
+ }
1292
+ }, {
1293
+ "content": "\"",
1294
+ "props": {
1295
+ "style": {
1296
+ "color": "#ECEFF4"
1297
+ }
1298
+ }
1299
+ }, {
1300
+ "content": ":",
1301
+ "props": {
1302
+ "style": {
1303
+ "color": "#ECEFF4"
1304
+ }
1305
+ }
1306
+ }, {
1307
+ "content": " ",
1308
+ "props": {
1309
+ "style": {
1310
+ "color": "#D8DEE9FF"
1311
+ }
1312
+ }
1313
+ }, {
1314
+ "content": "{},",
1315
+ "props": {
1316
+ "style": {
1317
+ "color": "#ECEFF4"
1318
+ }
1319
+ }
1320
+ }]
1321
+ }, {
1322
+ "tokens": [{
1323
+ "content": " ",
1324
+ "props": {
1325
+ "style": {
1326
+ "color": "#D8DEE9FF"
1327
+ }
1328
+ }
1329
+ }, {
1330
+ "content": "\"",
1331
+ "props": {
1332
+ "style": {
1333
+ "color": "#ECEFF4"
1334
+ }
1335
+ }
1336
+ }, {
1337
+ "content": "devDependencies",
1338
+ "props": {
1339
+ "style": {
1340
+ "color": "#8FBCBB"
1341
+ }
1342
+ }
1343
+ }, {
1344
+ "content": "\"",
1345
+ "props": {
1346
+ "style": {
1347
+ "color": "#ECEFF4"
1348
+ }
1349
+ }
1350
+ }, {
1351
+ "content": ":",
1352
+ "props": {
1353
+ "style": {
1354
+ "color": "#ECEFF4"
1355
+ }
1356
+ }
1357
+ }, {
1358
+ "content": " ",
1359
+ "props": {
1360
+ "style": {
1361
+ "color": "#D8DEE9FF"
1362
+ }
1363
+ }
1364
+ }, {
1365
+ "content": "{}",
1366
+ "props": {
1367
+ "style": {
1368
+ "color": "#ECEFF4"
1369
+ }
1370
+ }
1371
+ }]
1372
+ }, {
1373
+ "tokens": [{
1374
+ "content": "}",
1375
+ "props": {
1376
+ "style": {
1377
+ "color": "#ECEFF4"
1378
+ }
1379
+ }
1380
+ }]
1381
+ }],
1382
+ "lang": "json"
1383
+ },
1384
+ "annotations": []
1385
+ }]
1386
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1387
+ children: ["Dependencies under ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1388
+ children: "\"dependencies\""
1389
+ }), " are generally related to project code and builds, and if these third-party dependencies are declared under ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1390
+ children: "\"devDependencies\""
1391
+ }), ", then there will be missing dependencies in production environments."]
1392
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1393
+ children: ["In addition to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1394
+ children: "\"dependencies\""
1395
+ }), ", ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1396
+ href: "/en/guide/basic/before-getting-started#peerdependencies.html",
1397
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1398
+ children: "\"peerDependencies\""
1399
+ })
1400
+ }), " can also declare dependencies that are needed in the production environment, but it puts more emphasis on the existence of these dependencies declared by ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1401
+ children: "\"peerDependencies\""
1402
+ }), " in the project's runtime environment, similar to the plugin mechanism."]
1403
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1404
+ id: "default-handling-of-third-party-dependencies",
1405
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1406
+ className: "header-anchor",
1407
+ "aria-hidden": "true",
1408
+ href: "#default-handling-of-third-party-dependencies",
1409
+ children: "#"
1410
+ }), "Default handling of third-party dependencies"]
1411
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1412
+ children: ["By default, third-party dependencies under ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1413
+ children: "\"dependencies\""
1414
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1415
+ children: "\"peerDependencies\""
1416
+ }), " are not packaged in the module project**, so:"]
1417
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
1418
+ codeConfig: chCodeConfig,
1419
+ editorSteps: [{
1420
+ "northPanel": {
1421
+ "tabs": ["./v1/package.json"],
1422
+ "active": "./v1/package.json",
1423
+ "heightRatio": 1
1424
+ },
1425
+ "files": [{
1426
+ "name": "./v1/package.json",
1427
+ "focus": "",
1428
+ "code": {
1429
+ "lines": [{
1430
+ "tokens": [{
1431
+ "content": "{",
1432
+ "props": {
1433
+ "style": {
1434
+ "color": "#ECEFF4"
1435
+ }
1436
+ }
1437
+ }]
1438
+ }, {
1439
+ "tokens": [{
1440
+ "content": " ",
1441
+ "props": {
1442
+ "style": {
1443
+ "color": "#D8DEE9FF"
1444
+ }
1445
+ }
1446
+ }, {
1447
+ "content": "\"",
1448
+ "props": {
1449
+ "style": {
1450
+ "color": "#ECEFF4"
1451
+ }
1452
+ }
1453
+ }, {
1454
+ "content": "dependencies",
1455
+ "props": {
1456
+ "style": {
1457
+ "color": "#8FBCBB"
1458
+ }
1459
+ }
1460
+ }, {
1461
+ "content": "\"",
1462
+ "props": {
1463
+ "style": {
1464
+ "color": "#ECEFF4"
1465
+ }
1466
+ }
1467
+ }, {
1468
+ "content": ":",
1469
+ "props": {
1470
+ "style": {
1471
+ "color": "#ECEFF4"
1472
+ }
1473
+ }
1474
+ }, {
1475
+ "content": " ",
1476
+ "props": {
1477
+ "style": {
1478
+ "color": "#D8DEE9FF"
1479
+ }
1480
+ }
1481
+ }, {
1482
+ "content": "{",
1483
+ "props": {
1484
+ "style": {
1485
+ "color": "#ECEFF4"
1486
+ }
1487
+ }
1488
+ }]
1489
+ }, {
1490
+ "tokens": [{
1491
+ "content": " ",
1492
+ "props": {
1493
+ "style": {
1494
+ "color": "#D8DEE9FF"
1495
+ }
1496
+ }
1497
+ }, {
1498
+ "content": "\"",
1499
+ "props": {
1500
+ "style": {
1501
+ "color": "#ECEFF4"
1502
+ }
1503
+ }
1504
+ }, {
1505
+ "content": "react",
1506
+ "props": {
1507
+ "style": {
1508
+ "color": "#8FBCBB"
1509
+ }
1510
+ }
1511
+ }, {
1512
+ "content": "\"",
1513
+ "props": {
1514
+ "style": {
1515
+ "color": "#ECEFF4"
1516
+ }
1517
+ }
1518
+ }, {
1519
+ "content": ":",
1520
+ "props": {
1521
+ "style": {
1522
+ "color": "#ECEFF4"
1523
+ }
1524
+ }
1525
+ }, {
1526
+ "content": " ",
1527
+ "props": {
1528
+ "style": {
1529
+ "color": "#D8DEE9FF"
1530
+ }
1531
+ }
1532
+ }, {
1533
+ "content": "\"",
1534
+ "props": {
1535
+ "style": {
1536
+ "color": "#ECEFF4"
1537
+ }
1538
+ }
1539
+ }, {
1540
+ "content": "^17",
1541
+ "props": {
1542
+ "style": {
1543
+ "color": "#A3BE8C"
1544
+ }
1545
+ }
1546
+ }, {
1547
+ "content": "\"",
1548
+ "props": {
1549
+ "style": {
1550
+ "color": "#ECEFF4"
1551
+ }
1552
+ }
1553
+ }]
1554
+ }, {
1555
+ "tokens": [{
1556
+ "content": " ",
1557
+ "props": {
1558
+ "style": {
1559
+ "color": "#D8DEE9FF"
1560
+ }
1561
+ }
1562
+ }, {
1563
+ "content": "},",
1564
+ "props": {
1565
+ "style": {
1566
+ "color": "#ECEFF4"
1567
+ }
1568
+ }
1569
+ }]
1570
+ }, {
1571
+ "tokens": [{
1572
+ "content": " ",
1573
+ "props": {
1574
+ "style": {
1575
+ "color": "#D8DEE9FF"
1576
+ }
1577
+ }
1578
+ }, {
1579
+ "content": "// or",
1580
+ "props": {
1581
+ "style": {
1582
+ "color": "#616E88"
1583
+ }
1584
+ }
1585
+ }]
1586
+ }, {
1587
+ "tokens": [{
1588
+ "content": " ",
1589
+ "props": {
1590
+ "style": {
1591
+ "color": "#D8DEE9FF"
1592
+ }
1593
+ }
1594
+ }, {
1595
+ "content": "\"",
1596
+ "props": {
1597
+ "style": {
1598
+ "color": "#ECEFF4"
1599
+ }
1600
+ }
1601
+ }, {
1602
+ "content": "peerDependencies",
1603
+ "props": {
1604
+ "style": {
1605
+ "color": "#8FBCBB"
1606
+ }
1607
+ }
1608
+ }, {
1609
+ "content": "\"",
1610
+ "props": {
1611
+ "style": {
1612
+ "color": "#ECEFF4"
1613
+ }
1614
+ }
1615
+ }, {
1616
+ "content": ":",
1617
+ "props": {
1618
+ "style": {
1619
+ "color": "#ECEFF4"
1620
+ }
1621
+ }
1622
+ }, {
1623
+ "content": " ",
1624
+ "props": {
1625
+ "style": {
1626
+ "color": "#D8DEE9FF"
1627
+ }
1628
+ }
1629
+ }, {
1630
+ "content": "{",
1631
+ "props": {
1632
+ "style": {
1633
+ "color": "#ECEFF4"
1634
+ }
1635
+ }
1636
+ }]
1637
+ }, {
1638
+ "tokens": [{
1639
+ "content": " ",
1640
+ "props": {
1641
+ "style": {
1642
+ "color": "#D8DEE9FF"
1643
+ }
1644
+ }
1645
+ }, {
1646
+ "content": "\"",
1647
+ "props": {
1648
+ "style": {
1649
+ "color": "#ECEFF4"
1650
+ }
1651
+ }
1652
+ }, {
1653
+ "content": "react",
1654
+ "props": {
1655
+ "style": {
1656
+ "color": "#8FBCBB"
1657
+ }
1658
+ }
1659
+ }, {
1660
+ "content": "\"",
1661
+ "props": {
1662
+ "style": {
1663
+ "color": "#ECEFF4"
1664
+ }
1665
+ }
1666
+ }, {
1667
+ "content": ":",
1668
+ "props": {
1669
+ "style": {
1670
+ "color": "#ECEFF4"
1671
+ }
1672
+ }
1673
+ }, {
1674
+ "content": " ",
1675
+ "props": {
1676
+ "style": {
1677
+ "color": "#D8DEE9FF"
1678
+ }
1679
+ }
1680
+ }, {
1681
+ "content": "\"",
1682
+ "props": {
1683
+ "style": {
1684
+ "color": "#ECEFF4"
1685
+ }
1686
+ }
1687
+ }, {
1688
+ "content": "^17",
1689
+ "props": {
1690
+ "style": {
1691
+ "color": "#A3BE8C"
1692
+ }
1693
+ }
1694
+ }, {
1695
+ "content": "\"",
1696
+ "props": {
1697
+ "style": {
1698
+ "color": "#ECEFF4"
1699
+ }
1700
+ }
1701
+ }]
1702
+ }, {
1703
+ "tokens": [{
1704
+ "content": " ",
1705
+ "props": {
1706
+ "style": {
1707
+ "color": "#D8DEE9FF"
1708
+ }
1709
+ }
1710
+ }, {
1711
+ "content": "}",
1712
+ "props": {
1713
+ "style": {
1714
+ "color": "#ECEFF4"
1715
+ }
1716
+ }
1717
+ }]
1718
+ }, {
1719
+ "tokens": [{
1720
+ "content": "}",
1721
+ "props": {
1722
+ "style": {
1723
+ "color": "#ECEFF4"
1724
+ }
1725
+ }
1726
+ }]
1727
+ }],
1728
+ "lang": "json"
1729
+ },
1730
+ "annotations": []
1731
+ }]
1732
+ }, {
1733
+ "northPanel": {
1734
+ "tabs": ["./v1/package.json"],
1735
+ "active": "./v1/package.json",
1736
+ "heightRatio": 1
1737
+ },
1738
+ "files": [{
1739
+ "name": "./v1/package.json",
1740
+ "focus": "",
1741
+ "code": {
1742
+ "lines": [{
1743
+ "tokens": [{
1744
+ "content": "{",
1745
+ "props": {
1746
+ "style": {
1747
+ "color": "#ECEFF4"
1748
+ }
1749
+ }
1750
+ }]
1751
+ }, {
1752
+ "tokens": [{
1753
+ "content": " ",
1754
+ "props": {
1755
+ "style": {
1756
+ "color": "#D8DEE9FF"
1757
+ }
1758
+ }
1759
+ }, {
1760
+ "content": "\"",
1761
+ "props": {
1762
+ "style": {
1763
+ "color": "#ECEFF4"
1764
+ }
1765
+ }
1766
+ }, {
1767
+ "content": "dependencies",
1768
+ "props": {
1769
+ "style": {
1770
+ "color": "#8FBCBB"
1771
+ }
1772
+ }
1773
+ }, {
1774
+ "content": "\"",
1775
+ "props": {
1776
+ "style": {
1777
+ "color": "#ECEFF4"
1778
+ }
1779
+ }
1780
+ }, {
1781
+ "content": ":",
1782
+ "props": {
1783
+ "style": {
1784
+ "color": "#ECEFF4"
1785
+ }
1786
+ }
1787
+ }, {
1788
+ "content": " ",
1789
+ "props": {
1790
+ "style": {
1791
+ "color": "#D8DEE9FF"
1792
+ }
1793
+ }
1794
+ }, {
1795
+ "content": "{",
1796
+ "props": {
1797
+ "style": {
1798
+ "color": "#ECEFF4"
1799
+ }
1800
+ }
1801
+ }]
1802
+ }, {
1803
+ "tokens": [{
1804
+ "content": " ",
1805
+ "props": {
1806
+ "style": {
1807
+ "color": "#D8DEE9FF"
1808
+ }
1809
+ }
1810
+ }, {
1811
+ "content": "\"",
1812
+ "props": {
1813
+ "style": {
1814
+ "color": "#ECEFF4"
1815
+ }
1816
+ }
1817
+ }, {
1818
+ "content": "react",
1819
+ "props": {
1820
+ "style": {
1821
+ "color": "#8FBCBB"
1822
+ }
1823
+ }
1824
+ }, {
1825
+ "content": "\"",
1826
+ "props": {
1827
+ "style": {
1828
+ "color": "#ECEFF4"
1829
+ }
1830
+ }
1831
+ }, {
1832
+ "content": ":",
1833
+ "props": {
1834
+ "style": {
1835
+ "color": "#ECEFF4"
1836
+ }
1837
+ }
1838
+ }, {
1839
+ "content": " ",
1840
+ "props": {
1841
+ "style": {
1842
+ "color": "#D8DEE9FF"
1843
+ }
1844
+ }
1845
+ }, {
1846
+ "content": "\"",
1847
+ "props": {
1848
+ "style": {
1849
+ "color": "#ECEFF4"
1850
+ }
1851
+ }
1852
+ }, {
1853
+ "content": "^17",
1854
+ "props": {
1855
+ "style": {
1856
+ "color": "#A3BE8C"
1857
+ }
1858
+ }
1859
+ }, {
1860
+ "content": "\"",
1861
+ "props": {
1862
+ "style": {
1863
+ "color": "#ECEFF4"
1864
+ }
1865
+ }
1866
+ }]
1867
+ }, {
1868
+ "tokens": [{
1869
+ "content": " ",
1870
+ "props": {
1871
+ "style": {
1872
+ "color": "#D8DEE9FF"
1873
+ }
1874
+ }
1875
+ }, {
1876
+ "content": "},",
1877
+ "props": {
1878
+ "style": {
1879
+ "color": "#ECEFF4"
1880
+ }
1881
+ }
1882
+ }]
1883
+ }, {
1884
+ "tokens": [{
1885
+ "content": " ",
1886
+ "props": {
1887
+ "style": {
1888
+ "color": "#D8DEE9FF"
1889
+ }
1890
+ }
1891
+ }, {
1892
+ "content": "// or",
1893
+ "props": {
1894
+ "style": {
1895
+ "color": "#616E88"
1896
+ }
1897
+ }
1898
+ }]
1899
+ }, {
1900
+ "tokens": [{
1901
+ "content": " ",
1902
+ "props": {
1903
+ "style": {
1904
+ "color": "#D8DEE9FF"
1905
+ }
1906
+ }
1907
+ }, {
1908
+ "content": "\"",
1909
+ "props": {
1910
+ "style": {
1911
+ "color": "#ECEFF4"
1912
+ }
1913
+ }
1914
+ }, {
1915
+ "content": "peerDependencies",
1916
+ "props": {
1917
+ "style": {
1918
+ "color": "#8FBCBB"
1919
+ }
1920
+ }
1921
+ }, {
1922
+ "content": "\"",
1923
+ "props": {
1924
+ "style": {
1925
+ "color": "#ECEFF4"
1926
+ }
1927
+ }
1928
+ }, {
1929
+ "content": ":",
1930
+ "props": {
1931
+ "style": {
1932
+ "color": "#ECEFF4"
1933
+ }
1934
+ }
1935
+ }, {
1936
+ "content": " ",
1937
+ "props": {
1938
+ "style": {
1939
+ "color": "#D8DEE9FF"
1940
+ }
1941
+ }
1942
+ }, {
1943
+ "content": "{",
1944
+ "props": {
1945
+ "style": {
1946
+ "color": "#ECEFF4"
1947
+ }
1948
+ }
1949
+ }]
1950
+ }, {
1951
+ "tokens": [{
1952
+ "content": " ",
1953
+ "props": {
1954
+ "style": {
1955
+ "color": "#D8DEE9FF"
1956
+ }
1957
+ }
1958
+ }, {
1959
+ "content": "\"",
1960
+ "props": {
1961
+ "style": {
1962
+ "color": "#ECEFF4"
1963
+ }
1964
+ }
1965
+ }, {
1966
+ "content": "react",
1967
+ "props": {
1968
+ "style": {
1969
+ "color": "#8FBCBB"
1970
+ }
1971
+ }
1972
+ }, {
1973
+ "content": "\"",
1974
+ "props": {
1975
+ "style": {
1976
+ "color": "#ECEFF4"
1977
+ }
1978
+ }
1979
+ }, {
1980
+ "content": ":",
1981
+ "props": {
1982
+ "style": {
1983
+ "color": "#ECEFF4"
1984
+ }
1985
+ }
1986
+ }, {
1987
+ "content": " ",
1988
+ "props": {
1989
+ "style": {
1990
+ "color": "#D8DEE9FF"
1991
+ }
1992
+ }
1993
+ }, {
1994
+ "content": "\"",
1995
+ "props": {
1996
+ "style": {
1997
+ "color": "#ECEFF4"
1998
+ }
1999
+ }
2000
+ }, {
2001
+ "content": "^17",
2002
+ "props": {
2003
+ "style": {
2004
+ "color": "#A3BE8C"
2005
+ }
2006
+ }
2007
+ }, {
2008
+ "content": "\"",
2009
+ "props": {
2010
+ "style": {
2011
+ "color": "#ECEFF4"
2012
+ }
2013
+ }
2014
+ }]
2015
+ }, {
2016
+ "tokens": [{
2017
+ "content": " ",
2018
+ "props": {
2019
+ "style": {
2020
+ "color": "#D8DEE9FF"
2021
+ }
2022
+ }
2023
+ }, {
2024
+ "content": "}",
2025
+ "props": {
2026
+ "style": {
2027
+ "color": "#ECEFF4"
2028
+ }
2029
+ }
2030
+ }]
2031
+ }, {
2032
+ "tokens": [{
2033
+ "content": "}",
2034
+ "props": {
2035
+ "style": {
2036
+ "color": "#ECEFF4"
2037
+ }
2038
+ }
2039
+ }]
2040
+ }],
2041
+ "lang": "json"
2042
+ },
2043
+ "annotations": []
2044
+ }],
2045
+ "southPanel": undefined
2046
+ }, {
2047
+ "northPanel": {
2048
+ "tabs": ["./v1/package.json", "src/index.ts"],
2049
+ "active": "src/index.ts",
2050
+ "heightRatio": 1
2051
+ },
2052
+ "files": [{
2053
+ "name": "./v1/package.json",
2054
+ "focus": "",
2055
+ "code": {
2056
+ "lines": [{
2057
+ "tokens": [{
2058
+ "content": "{",
2059
+ "props": {
2060
+ "style": {
2061
+ "color": "#ECEFF4"
2062
+ }
2063
+ }
2064
+ }]
2065
+ }, {
2066
+ "tokens": [{
2067
+ "content": " ",
2068
+ "props": {
2069
+ "style": {
2070
+ "color": "#D8DEE9FF"
2071
+ }
2072
+ }
2073
+ }, {
2074
+ "content": "\"",
2075
+ "props": {
2076
+ "style": {
2077
+ "color": "#ECEFF4"
2078
+ }
2079
+ }
2080
+ }, {
2081
+ "content": "dependencies",
2082
+ "props": {
2083
+ "style": {
2084
+ "color": "#8FBCBB"
2085
+ }
2086
+ }
2087
+ }, {
2088
+ "content": "\"",
2089
+ "props": {
2090
+ "style": {
2091
+ "color": "#ECEFF4"
2092
+ }
2093
+ }
2094
+ }, {
2095
+ "content": ":",
2096
+ "props": {
2097
+ "style": {
2098
+ "color": "#ECEFF4"
2099
+ }
2100
+ }
2101
+ }, {
2102
+ "content": " ",
2103
+ "props": {
2104
+ "style": {
2105
+ "color": "#D8DEE9FF"
2106
+ }
2107
+ }
2108
+ }, {
2109
+ "content": "{",
2110
+ "props": {
2111
+ "style": {
2112
+ "color": "#ECEFF4"
2113
+ }
2114
+ }
2115
+ }]
2116
+ }, {
2117
+ "tokens": [{
2118
+ "content": " ",
2119
+ "props": {
2120
+ "style": {
2121
+ "color": "#D8DEE9FF"
2122
+ }
2123
+ }
2124
+ }, {
2125
+ "content": "\"",
2126
+ "props": {
2127
+ "style": {
2128
+ "color": "#ECEFF4"
2129
+ }
2130
+ }
2131
+ }, {
2132
+ "content": "react",
2133
+ "props": {
2134
+ "style": {
2135
+ "color": "#8FBCBB"
2136
+ }
2137
+ }
2138
+ }, {
2139
+ "content": "\"",
2140
+ "props": {
2141
+ "style": {
2142
+ "color": "#ECEFF4"
2143
+ }
2144
+ }
2145
+ }, {
2146
+ "content": ":",
2147
+ "props": {
2148
+ "style": {
2149
+ "color": "#ECEFF4"
2150
+ }
2151
+ }
2152
+ }, {
2153
+ "content": " ",
2154
+ "props": {
2155
+ "style": {
2156
+ "color": "#D8DEE9FF"
2157
+ }
2158
+ }
2159
+ }, {
2160
+ "content": "\"",
2161
+ "props": {
2162
+ "style": {
2163
+ "color": "#ECEFF4"
2164
+ }
2165
+ }
2166
+ }, {
2167
+ "content": "^17",
2168
+ "props": {
2169
+ "style": {
2170
+ "color": "#A3BE8C"
2171
+ }
2172
+ }
2173
+ }, {
2174
+ "content": "\"",
2175
+ "props": {
2176
+ "style": {
2177
+ "color": "#ECEFF4"
2178
+ }
2179
+ }
2180
+ }]
2181
+ }, {
2182
+ "tokens": [{
2183
+ "content": " ",
2184
+ "props": {
2185
+ "style": {
2186
+ "color": "#D8DEE9FF"
2187
+ }
2188
+ }
2189
+ }, {
2190
+ "content": "},",
2191
+ "props": {
2192
+ "style": {
2193
+ "color": "#ECEFF4"
2194
+ }
2195
+ }
2196
+ }]
2197
+ }, {
2198
+ "tokens": [{
2199
+ "content": " ",
2200
+ "props": {
2201
+ "style": {
2202
+ "color": "#D8DEE9FF"
2203
+ }
2204
+ }
2205
+ }, {
2206
+ "content": "// or",
2207
+ "props": {
2208
+ "style": {
2209
+ "color": "#616E88"
2210
+ }
2211
+ }
2212
+ }]
2213
+ }, {
2214
+ "tokens": [{
2215
+ "content": " ",
2216
+ "props": {
2217
+ "style": {
2218
+ "color": "#D8DEE9FF"
2219
+ }
2220
+ }
2221
+ }, {
2222
+ "content": "\"",
2223
+ "props": {
2224
+ "style": {
2225
+ "color": "#ECEFF4"
2226
+ }
2227
+ }
2228
+ }, {
2229
+ "content": "peerDependencies",
2230
+ "props": {
2231
+ "style": {
2232
+ "color": "#8FBCBB"
2233
+ }
2234
+ }
2235
+ }, {
2236
+ "content": "\"",
2237
+ "props": {
2238
+ "style": {
2239
+ "color": "#ECEFF4"
2240
+ }
2241
+ }
2242
+ }, {
2243
+ "content": ":",
2244
+ "props": {
2245
+ "style": {
2246
+ "color": "#ECEFF4"
2247
+ }
2248
+ }
2249
+ }, {
2250
+ "content": " ",
2251
+ "props": {
2252
+ "style": {
2253
+ "color": "#D8DEE9FF"
2254
+ }
2255
+ }
2256
+ }, {
2257
+ "content": "{",
2258
+ "props": {
2259
+ "style": {
2260
+ "color": "#ECEFF4"
2261
+ }
2262
+ }
2263
+ }]
2264
+ }, {
2265
+ "tokens": [{
2266
+ "content": " ",
2267
+ "props": {
2268
+ "style": {
2269
+ "color": "#D8DEE9FF"
2270
+ }
2271
+ }
2272
+ }, {
2273
+ "content": "\"",
2274
+ "props": {
2275
+ "style": {
2276
+ "color": "#ECEFF4"
2277
+ }
2278
+ }
2279
+ }, {
2280
+ "content": "react",
2281
+ "props": {
2282
+ "style": {
2283
+ "color": "#8FBCBB"
2284
+ }
2285
+ }
2286
+ }, {
2287
+ "content": "\"",
2288
+ "props": {
2289
+ "style": {
2290
+ "color": "#ECEFF4"
2291
+ }
2292
+ }
2293
+ }, {
2294
+ "content": ":",
2295
+ "props": {
2296
+ "style": {
2297
+ "color": "#ECEFF4"
2298
+ }
2299
+ }
2300
+ }, {
2301
+ "content": " ",
2302
+ "props": {
2303
+ "style": {
2304
+ "color": "#D8DEE9FF"
2305
+ }
2306
+ }
2307
+ }, {
2308
+ "content": "\"",
2309
+ "props": {
2310
+ "style": {
2311
+ "color": "#ECEFF4"
2312
+ }
2313
+ }
2314
+ }, {
2315
+ "content": "^17",
2316
+ "props": {
2317
+ "style": {
2318
+ "color": "#A3BE8C"
2319
+ }
2320
+ }
2321
+ }, {
2322
+ "content": "\"",
2323
+ "props": {
2324
+ "style": {
2325
+ "color": "#ECEFF4"
2326
+ }
2327
+ }
2328
+ }]
2329
+ }, {
2330
+ "tokens": [{
2331
+ "content": " ",
2332
+ "props": {
2333
+ "style": {
2334
+ "color": "#D8DEE9FF"
2335
+ }
2336
+ }
2337
+ }, {
2338
+ "content": "}",
2339
+ "props": {
2340
+ "style": {
2341
+ "color": "#ECEFF4"
2342
+ }
2343
+ }
2344
+ }]
2345
+ }, {
2346
+ "tokens": [{
2347
+ "content": "}",
2348
+ "props": {
2349
+ "style": {
2350
+ "color": "#ECEFF4"
2351
+ }
2352
+ }
2353
+ }]
2354
+ }],
2355
+ "lang": "json"
2356
+ },
2357
+ "annotations": []
2358
+ }, {
2359
+ "name": "src/index.ts",
2360
+ "focus": "",
2361
+ "code": {
2362
+ "lines": [{
2363
+ "tokens": [{
2364
+ "content": "import",
2365
+ "props": {
2366
+ "style": {
2367
+ "color": "#81A1C1"
2368
+ }
2369
+ }
2370
+ }, {
2371
+ "content": " ",
2372
+ "props": {
2373
+ "style": {
2374
+ "color": "#D8DEE9FF"
2375
+ }
2376
+ }
2377
+ }, {
2378
+ "content": "React",
2379
+ "props": {
2380
+ "style": {
2381
+ "color": "#D8DEE9"
2382
+ }
2383
+ }
2384
+ }, {
2385
+ "content": " ",
2386
+ "props": {
2387
+ "style": {
2388
+ "color": "#D8DEE9FF"
2389
+ }
2390
+ }
2391
+ }, {
2392
+ "content": "from",
2393
+ "props": {
2394
+ "style": {
2395
+ "color": "#81A1C1"
2396
+ }
2397
+ }
2398
+ }, {
2399
+ "content": " ",
2400
+ "props": {
2401
+ "style": {
2402
+ "color": "#D8DEE9FF"
2403
+ }
2404
+ }
2405
+ }, {
2406
+ "content": "'",
2407
+ "props": {
2408
+ "style": {
2409
+ "color": "#ECEFF4"
2410
+ }
2411
+ }
2412
+ }, {
2413
+ "content": "react",
2414
+ "props": {
2415
+ "style": {
2416
+ "color": "#A3BE8C"
2417
+ }
2418
+ }
2419
+ }, {
2420
+ "content": "'",
2421
+ "props": {
2422
+ "style": {
2423
+ "color": "#ECEFF4"
2424
+ }
2425
+ }
2426
+ }, {
2427
+ "content": ";",
2428
+ "props": {
2429
+ "style": {
2430
+ "color": "#81A1C1"
2431
+ }
2432
+ }
2433
+ }]
2434
+ }, {
2435
+ "tokens": [{
2436
+ "content": "console",
2437
+ "props": {
2438
+ "style": {
2439
+ "color": "#D8DEE9"
2440
+ }
2441
+ }
2442
+ }, {
2443
+ "content": ".",
2444
+ "props": {
2445
+ "style": {
2446
+ "color": "#ECEFF4"
2447
+ }
2448
+ }
2449
+ }, {
2450
+ "content": "info",
2451
+ "props": {
2452
+ "style": {
2453
+ "color": "#88C0D0"
2454
+ }
2455
+ }
2456
+ }, {
2457
+ "content": "(",
2458
+ "props": {
2459
+ "style": {
2460
+ "color": "#D8DEE9FF"
2461
+ }
2462
+ }
2463
+ }, {
2464
+ "content": "React",
2465
+ "props": {
2466
+ "style": {
2467
+ "color": "#D8DEE9"
2468
+ }
2469
+ }
2470
+ }, {
2471
+ "content": ")",
2472
+ "props": {
2473
+ "style": {
2474
+ "color": "#D8DEE9FF"
2475
+ }
2476
+ }
2477
+ }, {
2478
+ "content": ";",
2479
+ "props": {
2480
+ "style": {
2481
+ "color": "#81A1C1"
2482
+ }
2483
+ }
2484
+ }]
2485
+ }],
2486
+ "lang": "tsx"
2487
+ },
2488
+ "annotations": []
2489
+ }],
2490
+ "southPanel": undefined
2491
+ }, {
2492
+ "northPanel": {
2493
+ "tabs": ["./v1/package.json", "dist/index.js"],
2494
+ "active": "dist/index.js",
2495
+ "heightRatio": 1
2496
+ },
2497
+ "files": [{
2498
+ "name": "./v1/package.json",
2499
+ "focus": "",
2500
+ "code": {
2501
+ "lines": [{
2502
+ "tokens": [{
2503
+ "content": "{",
2504
+ "props": {
2505
+ "style": {
2506
+ "color": "#ECEFF4"
2507
+ }
2508
+ }
2509
+ }]
2510
+ }, {
2511
+ "tokens": [{
2512
+ "content": " ",
2513
+ "props": {
2514
+ "style": {
2515
+ "color": "#D8DEE9FF"
2516
+ }
2517
+ }
2518
+ }, {
2519
+ "content": "\"",
2520
+ "props": {
2521
+ "style": {
2522
+ "color": "#ECEFF4"
2523
+ }
2524
+ }
2525
+ }, {
2526
+ "content": "dependencies",
2527
+ "props": {
2528
+ "style": {
2529
+ "color": "#8FBCBB"
2530
+ }
2531
+ }
2532
+ }, {
2533
+ "content": "\"",
2534
+ "props": {
2535
+ "style": {
2536
+ "color": "#ECEFF4"
2537
+ }
2538
+ }
2539
+ }, {
2540
+ "content": ":",
2541
+ "props": {
2542
+ "style": {
2543
+ "color": "#ECEFF4"
2544
+ }
2545
+ }
2546
+ }, {
2547
+ "content": " ",
2548
+ "props": {
2549
+ "style": {
2550
+ "color": "#D8DEE9FF"
2551
+ }
2552
+ }
2553
+ }, {
2554
+ "content": "{",
2555
+ "props": {
2556
+ "style": {
2557
+ "color": "#ECEFF4"
2558
+ }
2559
+ }
2560
+ }]
2561
+ }, {
2562
+ "tokens": [{
2563
+ "content": " ",
2564
+ "props": {
2565
+ "style": {
2566
+ "color": "#D8DEE9FF"
2567
+ }
2568
+ }
2569
+ }, {
2570
+ "content": "\"",
2571
+ "props": {
2572
+ "style": {
2573
+ "color": "#ECEFF4"
2574
+ }
2575
+ }
2576
+ }, {
2577
+ "content": "react",
2578
+ "props": {
2579
+ "style": {
2580
+ "color": "#8FBCBB"
2581
+ }
2582
+ }
2583
+ }, {
2584
+ "content": "\"",
2585
+ "props": {
2586
+ "style": {
2587
+ "color": "#ECEFF4"
2588
+ }
2589
+ }
2590
+ }, {
2591
+ "content": ":",
2592
+ "props": {
2593
+ "style": {
2594
+ "color": "#ECEFF4"
2595
+ }
2596
+ }
2597
+ }, {
2598
+ "content": " ",
2599
+ "props": {
2600
+ "style": {
2601
+ "color": "#D8DEE9FF"
2602
+ }
2603
+ }
2604
+ }, {
2605
+ "content": "\"",
2606
+ "props": {
2607
+ "style": {
2608
+ "color": "#ECEFF4"
2609
+ }
2610
+ }
2611
+ }, {
2612
+ "content": "^17",
2613
+ "props": {
2614
+ "style": {
2615
+ "color": "#A3BE8C"
2616
+ }
2617
+ }
2618
+ }, {
2619
+ "content": "\"",
2620
+ "props": {
2621
+ "style": {
2622
+ "color": "#ECEFF4"
2623
+ }
2624
+ }
2625
+ }]
2626
+ }, {
2627
+ "tokens": [{
2628
+ "content": " ",
2629
+ "props": {
2630
+ "style": {
2631
+ "color": "#D8DEE9FF"
2632
+ }
2633
+ }
2634
+ }, {
2635
+ "content": "},",
2636
+ "props": {
2637
+ "style": {
2638
+ "color": "#ECEFF4"
2639
+ }
2640
+ }
2641
+ }]
2642
+ }, {
2643
+ "tokens": [{
2644
+ "content": " ",
2645
+ "props": {
2646
+ "style": {
2647
+ "color": "#D8DEE9FF"
2648
+ }
2649
+ }
2650
+ }, {
2651
+ "content": "// or",
2652
+ "props": {
2653
+ "style": {
2654
+ "color": "#616E88"
2655
+ }
2656
+ }
2657
+ }]
2658
+ }, {
2659
+ "tokens": [{
2660
+ "content": " ",
2661
+ "props": {
2662
+ "style": {
2663
+ "color": "#D8DEE9FF"
2664
+ }
2665
+ }
2666
+ }, {
2667
+ "content": "\"",
2668
+ "props": {
2669
+ "style": {
2670
+ "color": "#ECEFF4"
2671
+ }
2672
+ }
2673
+ }, {
2674
+ "content": "peerDependencies",
2675
+ "props": {
2676
+ "style": {
2677
+ "color": "#8FBCBB"
2678
+ }
2679
+ }
2680
+ }, {
2681
+ "content": "\"",
2682
+ "props": {
2683
+ "style": {
2684
+ "color": "#ECEFF4"
2685
+ }
2686
+ }
2687
+ }, {
2688
+ "content": ":",
2689
+ "props": {
2690
+ "style": {
2691
+ "color": "#ECEFF4"
2692
+ }
2693
+ }
2694
+ }, {
2695
+ "content": " ",
2696
+ "props": {
2697
+ "style": {
2698
+ "color": "#D8DEE9FF"
2699
+ }
2700
+ }
2701
+ }, {
2702
+ "content": "{",
2703
+ "props": {
2704
+ "style": {
2705
+ "color": "#ECEFF4"
2706
+ }
2707
+ }
2708
+ }]
2709
+ }, {
2710
+ "tokens": [{
2711
+ "content": " ",
2712
+ "props": {
2713
+ "style": {
2714
+ "color": "#D8DEE9FF"
2715
+ }
2716
+ }
2717
+ }, {
2718
+ "content": "\"",
2719
+ "props": {
2720
+ "style": {
2721
+ "color": "#ECEFF4"
2722
+ }
2723
+ }
2724
+ }, {
2725
+ "content": "react",
2726
+ "props": {
2727
+ "style": {
2728
+ "color": "#8FBCBB"
2729
+ }
2730
+ }
2731
+ }, {
2732
+ "content": "\"",
2733
+ "props": {
2734
+ "style": {
2735
+ "color": "#ECEFF4"
2736
+ }
2737
+ }
2738
+ }, {
2739
+ "content": ":",
2740
+ "props": {
2741
+ "style": {
2742
+ "color": "#ECEFF4"
2743
+ }
2744
+ }
2745
+ }, {
2746
+ "content": " ",
2747
+ "props": {
2748
+ "style": {
2749
+ "color": "#D8DEE9FF"
2750
+ }
2751
+ }
2752
+ }, {
2753
+ "content": "\"",
2754
+ "props": {
2755
+ "style": {
2756
+ "color": "#ECEFF4"
2757
+ }
2758
+ }
2759
+ }, {
2760
+ "content": "^17",
2761
+ "props": {
2762
+ "style": {
2763
+ "color": "#A3BE8C"
2764
+ }
2765
+ }
2766
+ }, {
2767
+ "content": "\"",
2768
+ "props": {
2769
+ "style": {
2770
+ "color": "#ECEFF4"
2771
+ }
2772
+ }
2773
+ }]
2774
+ }, {
2775
+ "tokens": [{
2776
+ "content": " ",
2777
+ "props": {
2778
+ "style": {
2779
+ "color": "#D8DEE9FF"
2780
+ }
2781
+ }
2782
+ }, {
2783
+ "content": "}",
2784
+ "props": {
2785
+ "style": {
2786
+ "color": "#ECEFF4"
2787
+ }
2788
+ }
2789
+ }]
2790
+ }, {
2791
+ "tokens": [{
2792
+ "content": "}",
2793
+ "props": {
2794
+ "style": {
2795
+ "color": "#ECEFF4"
2796
+ }
2797
+ }
2798
+ }]
2799
+ }],
2800
+ "lang": "json"
2801
+ },
2802
+ "annotations": []
2803
+ }, {
2804
+ "name": "dist/index.js",
2805
+ "focus": "",
2806
+ "code": {
2807
+ "lines": [{
2808
+ "tokens": [{
2809
+ "content": "import",
2810
+ "props": {
2811
+ "style": {
2812
+ "color": "#81A1C1"
2813
+ }
2814
+ }
2815
+ }, {
2816
+ "content": " ",
2817
+ "props": {
2818
+ "style": {
2819
+ "color": "#D8DEE9FF"
2820
+ }
2821
+ }
2822
+ }, {
2823
+ "content": "React",
2824
+ "props": {
2825
+ "style": {
2826
+ "color": "#8FBCBB"
2827
+ }
2828
+ }
2829
+ }, {
2830
+ "content": " ",
2831
+ "props": {
2832
+ "style": {
2833
+ "color": "#D8DEE9FF"
2834
+ }
2835
+ }
2836
+ }, {
2837
+ "content": "from",
2838
+ "props": {
2839
+ "style": {
2840
+ "color": "#81A1C1"
2841
+ }
2842
+ }
2843
+ }, {
2844
+ "content": " ",
2845
+ "props": {
2846
+ "style": {
2847
+ "color": "#D8DEE9FF"
2848
+ }
2849
+ }
2850
+ }, {
2851
+ "content": "'",
2852
+ "props": {
2853
+ "style": {
2854
+ "color": "#ECEFF4"
2855
+ }
2856
+ }
2857
+ }, {
2858
+ "content": "react",
2859
+ "props": {
2860
+ "style": {
2861
+ "color": "#A3BE8C"
2862
+ }
2863
+ }
2864
+ }, {
2865
+ "content": "'",
2866
+ "props": {
2867
+ "style": {
2868
+ "color": "#ECEFF4"
2869
+ }
2870
+ }
2871
+ }, {
2872
+ "content": ";",
2873
+ "props": {
2874
+ "style": {
2875
+ "color": "#81A1C1"
2876
+ }
2877
+ }
2878
+ }]
2879
+ }, {
2880
+ "tokens": [{
2881
+ "content": "console",
2882
+ "props": {
2883
+ "style": {
2884
+ "color": "#D8DEE9"
2885
+ }
2886
+ }
2887
+ }, {
2888
+ "content": ".",
2889
+ "props": {
2890
+ "style": {
2891
+ "color": "#ECEFF4"
2892
+ }
2893
+ }
2894
+ }, {
2895
+ "content": "info",
2896
+ "props": {
2897
+ "style": {
2898
+ "color": "#88C0D0"
2899
+ }
2900
+ }
2901
+ }, {
2902
+ "content": "(",
2903
+ "props": {
2904
+ "style": {
2905
+ "color": "#D8DEE9FF"
2906
+ }
2907
+ }
2908
+ }, {
2909
+ "content": "React",
2910
+ "props": {
2911
+ "style": {
2912
+ "color": "#D8DEE9"
2913
+ }
2914
+ }
2915
+ }, {
2916
+ "content": ")",
2917
+ "props": {
2918
+ "style": {
2919
+ "color": "#D8DEE9FF"
2920
+ }
2921
+ }
2922
+ }, {
2923
+ "content": ";",
2924
+ "props": {
2925
+ "style": {
2926
+ "color": "#81A1C1"
2927
+ }
2928
+ }
2929
+ }]
2930
+ }],
2931
+ "lang": "js"
2932
+ },
2933
+ "annotations": []
2934
+ }],
2935
+ "southPanel": undefined
2936
+ }],
2937
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2938
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
2939
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2940
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2941
+ children: ["If the project has a dependency on ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2942
+ children: "react"
2943
+ }), "."]
2944
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2945
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2946
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2947
+ children: ["When a ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2948
+ children: "react"
2949
+ }), " dependency is used in the source code."]
2950
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2951
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2952
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2953
+ children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2954
+ children: "react"
2955
+ }), " code is not packaged into the product at this point."]
2956
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2957
+ })]
2958
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2959
+ id: "packaging-third-party-dependencies",
2960
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2961
+ className: "header-anchor",
2962
+ "aria-hidden": "true",
2963
+ href: "#packaging-third-party-dependencies",
2964
+ children: "#"
2965
+ }), "Packaging third-party dependencies"]
2966
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2967
+ children: ["However there are cases where you want to package these third-party dependencies into the product. The benefits of packaging third-party dependencies into the product are: ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
2968
+ children: "Reducing the time spent downloading third-party dependencies"
2969
+ }), "."]
2970
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2971
+ children: "This way of handling third-party dependencies is generally more common in developing command-line tools, which can improve the loading speed of command-line tools and give users a better experience."
2972
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2973
+ children: "So how do you enable the packaging of third-party dependencies in your module project?"
2974
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2975
+ children: "The following APIs are provided in the build configuration to handle third-party dependencies:"
2976
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2977
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2978
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2979
+ href: "/en/api/config/build-config#autoexternal.html",
2980
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2981
+ children: "buildConfig.autoExternal"
2982
+ })
2983
+ })
2984
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2985
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2986
+ href: "/en/api/config/build-config#externals.html",
2987
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2988
+ children: "buildConfig.externals"
2989
+ })
2990
+ })
2991
+ }), "\n"]
2992
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
2993
+ id: "turn-off-default-behavior",
2994
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2995
+ className: "header-anchor",
2996
+ "aria-hidden": "true",
2997
+ href: "#turn-off-default-behavior",
2998
+ children: "#"
2999
+ }), "Turn off default behavior"]
3000
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3001
+ children: "When we want to turn off the default handling behavior for third-party dependencies, we can do so by:"
3002
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3003
+ codeConfig: chCodeConfig,
3004
+ northPanel: {
3005
+ "tabs": [""],
3006
+ "active": "",
3007
+ "heightRatio": 1
3008
+ },
3009
+ files: [{
3010
+ "name": "",
3011
+ "focus": "",
3012
+ "code": {
3013
+ "lines": [{
3014
+ "tokens": [{
3015
+ "content": "export",
3016
+ "props": {
3017
+ "style": {
3018
+ "color": "#81A1C1"
3019
+ }
3020
+ }
3021
+ }, {
3022
+ "content": " ",
3023
+ "props": {
3024
+ "style": {
3025
+ "color": "#D8DEE9FF"
3026
+ }
3027
+ }
3028
+ }, {
3029
+ "content": "default",
3030
+ "props": {
3031
+ "style": {
3032
+ "color": "#81A1C1"
3033
+ }
3034
+ }
3035
+ }, {
3036
+ "content": " ",
3037
+ "props": {
3038
+ "style": {
3039
+ "color": "#D8DEE9FF"
3040
+ }
3041
+ }
3042
+ }, {
3043
+ "content": "defineConfig",
3044
+ "props": {
3045
+ "style": {
3046
+ "color": "#88C0D0"
3047
+ }
3048
+ }
3049
+ }, {
3050
+ "content": "(",
3051
+ "props": {
3052
+ "style": {
3053
+ "color": "#D8DEE9FF"
3054
+ }
3055
+ }
3056
+ }, {
3057
+ "content": "{",
3058
+ "props": {
3059
+ "style": {
3060
+ "color": "#ECEFF4"
3061
+ }
3062
+ }
3063
+ }]
3064
+ }, {
3065
+ "tokens": [{
3066
+ "content": " ",
3067
+ "props": {
3068
+ "style": {
3069
+ "color": "#D8DEE9FF"
3070
+ }
3071
+ }
3072
+ }, {
3073
+ "content": "buildConfig",
3074
+ "props": {
3075
+ "style": {
3076
+ "color": "#D8DEE9"
3077
+ }
3078
+ }
3079
+ }, {
3080
+ "content": ":",
3081
+ "props": {
3082
+ "style": {
3083
+ "color": "#ECEFF4"
3084
+ }
3085
+ }
3086
+ }, {
3087
+ "content": " ",
3088
+ "props": {
3089
+ "style": {
3090
+ "color": "#D8DEE9FF"
3091
+ }
3092
+ }
3093
+ }, {
3094
+ "content": "{",
3095
+ "props": {
3096
+ "style": {
3097
+ "color": "#ECEFF4"
3098
+ }
3099
+ }
3100
+ }]
3101
+ }, {
3102
+ "tokens": [{
3103
+ "content": " ",
3104
+ "props": {
3105
+ "style": {
3106
+ "color": "#D8DEE9FF"
3107
+ }
3108
+ }
3109
+ }, {
3110
+ "content": "autoExternal",
3111
+ "props": {
3112
+ "style": {
3113
+ "color": "#D8DEE9"
3114
+ }
3115
+ }
3116
+ }, {
3117
+ "content": ":",
3118
+ "props": {
3119
+ "style": {
3120
+ "color": "#ECEFF4"
3121
+ }
3122
+ }
3123
+ }, {
3124
+ "content": " ",
3125
+ "props": {
3126
+ "style": {
3127
+ "color": "#D8DEE9FF"
3128
+ }
3129
+ }
3130
+ }, {
3131
+ "content": "false",
3132
+ "props": {
3133
+ "style": {
3134
+ "color": "#81A1C1"
3135
+ }
3136
+ }
3137
+ }, {
3138
+ "content": ",",
3139
+ "props": {
3140
+ "style": {
3141
+ "color": "#ECEFF4"
3142
+ }
3143
+ }
3144
+ }]
3145
+ }, {
3146
+ "tokens": [{
3147
+ "content": " ",
3148
+ "props": {
3149
+ "style": {
3150
+ "color": "#D8DEE9FF"
3151
+ }
3152
+ }
3153
+ }, {
3154
+ "content": "},",
3155
+ "props": {
3156
+ "style": {
3157
+ "color": "#ECEFF4"
3158
+ }
3159
+ }
3160
+ }]
3161
+ }, {
3162
+ "tokens": [{
3163
+ "content": "}",
3164
+ "props": {
3165
+ "style": {
3166
+ "color": "#ECEFF4"
3167
+ }
3168
+ }
3169
+ }, {
3170
+ "content": ")",
3171
+ "props": {
3172
+ "style": {
3173
+ "color": "#D8DEE9FF"
3174
+ }
3175
+ }
3176
+ }, {
3177
+ "content": ";",
3178
+ "props": {
3179
+ "style": {
3180
+ "color": "#81A1C1"
3181
+ }
3182
+ }
3183
+ }]
3184
+ }],
3185
+ "lang": "ts"
3186
+ },
3187
+ "annotations": []
3188
+ }]
3189
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3190
+ children: ["This way the dependencies under ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3191
+ children: "\"dependencies\""
3192
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3193
+ children: "\"peerDependencies\""
3194
+ }), " will be packaged. If you want to turn off the processing of only one of these dependencies, you can use the\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3195
+ children: "buildConfig.autoExternal"
3196
+ }), " in the form of an object."]
3197
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3198
+ codeConfig: chCodeConfig,
3199
+ northPanel: {
3200
+ "tabs": [""],
3201
+ "active": "",
3202
+ "heightRatio": 1
3203
+ },
3204
+ files: [{
3205
+ "name": "",
3206
+ "focus": "",
3207
+ "code": {
3208
+ "lines": [{
3209
+ "tokens": [{
3210
+ "content": "export",
3211
+ "props": {
3212
+ "style": {
3213
+ "color": "#81A1C1"
3214
+ }
3215
+ }
3216
+ }, {
3217
+ "content": " ",
3218
+ "props": {
3219
+ "style": {
3220
+ "color": "#D8DEE9FF"
3221
+ }
3222
+ }
3223
+ }, {
3224
+ "content": "default",
3225
+ "props": {
3226
+ "style": {
3227
+ "color": "#81A1C1"
3228
+ }
3229
+ }
3230
+ }, {
3231
+ "content": " ",
3232
+ "props": {
3233
+ "style": {
3234
+ "color": "#D8DEE9FF"
3235
+ }
3236
+ }
3237
+ }, {
3238
+ "content": "defineConfig",
3239
+ "props": {
3240
+ "style": {
3241
+ "color": "#88C0D0"
3242
+ }
3243
+ }
3244
+ }, {
3245
+ "content": "(",
3246
+ "props": {
3247
+ "style": {
3248
+ "color": "#D8DEE9FF"
3249
+ }
3250
+ }
3251
+ }, {
3252
+ "content": "{",
3253
+ "props": {
3254
+ "style": {
3255
+ "color": "#ECEFF4"
3256
+ }
3257
+ }
3258
+ }]
3259
+ }, {
3260
+ "tokens": [{
3261
+ "content": " ",
3262
+ "props": {
3263
+ "style": {
3264
+ "color": "#D8DEE9FF"
3265
+ }
3266
+ }
3267
+ }, {
3268
+ "content": "buildConfig",
3269
+ "props": {
3270
+ "style": {
3271
+ "color": "#D8DEE9"
3272
+ }
3273
+ }
3274
+ }, {
3275
+ "content": ":",
3276
+ "props": {
3277
+ "style": {
3278
+ "color": "#ECEFF4"
3279
+ }
3280
+ }
3281
+ }, {
3282
+ "content": " ",
3283
+ "props": {
3284
+ "style": {
3285
+ "color": "#D8DEE9FF"
3286
+ }
3287
+ }
3288
+ }, {
3289
+ "content": "{",
3290
+ "props": {
3291
+ "style": {
3292
+ "color": "#ECEFF4"
3293
+ }
3294
+ }
3295
+ }]
3296
+ }, {
3297
+ "tokens": [{
3298
+ "content": " ",
3299
+ "props": {
3300
+ "style": {
3301
+ "color": "#D8DEE9FF"
3302
+ }
3303
+ }
3304
+ }, {
3305
+ "content": "autoExternal",
3306
+ "props": {
3307
+ "style": {
3308
+ "color": "#D8DEE9"
3309
+ }
3310
+ }
3311
+ }, {
3312
+ "content": ":",
3313
+ "props": {
3314
+ "style": {
3315
+ "color": "#ECEFF4"
3316
+ }
3317
+ }
3318
+ }, {
3319
+ "content": " ",
3320
+ "props": {
3321
+ "style": {
3322
+ "color": "#D8DEE9FF"
3323
+ }
3324
+ }
3325
+ }, {
3326
+ "content": "{",
3327
+ "props": {
3328
+ "style": {
3329
+ "color": "#ECEFF4"
3330
+ }
3331
+ }
3332
+ }]
3333
+ }, {
3334
+ "tokens": [{
3335
+ "content": " ",
3336
+ "props": {
3337
+ "style": {
3338
+ "color": "#D8DEE9FF"
3339
+ }
3340
+ }
3341
+ }, {
3342
+ "content": "dependencies",
3343
+ "props": {
3344
+ "style": {
3345
+ "color": "#D8DEE9"
3346
+ }
3347
+ }
3348
+ }, {
3349
+ "content": ":",
3350
+ "props": {
3351
+ "style": {
3352
+ "color": "#ECEFF4"
3353
+ }
3354
+ }
3355
+ }, {
3356
+ "content": " ",
3357
+ "props": {
3358
+ "style": {
3359
+ "color": "#D8DEE9FF"
3360
+ }
3361
+ }
3362
+ }, {
3363
+ "content": "false",
3364
+ "props": {
3365
+ "style": {
3366
+ "color": "#81A1C1"
3367
+ }
3368
+ }
3369
+ }, {
3370
+ "content": ",",
3371
+ "props": {
3372
+ "style": {
3373
+ "color": "#ECEFF4"
3374
+ }
3375
+ }
3376
+ }]
3377
+ }, {
3378
+ "tokens": [{
3379
+ "content": " ",
3380
+ "props": {
3381
+ "style": {
3382
+ "color": "#D8DEE9FF"
3383
+ }
3384
+ }
3385
+ }, {
3386
+ "content": "peerDependencies",
3387
+ "props": {
3388
+ "style": {
3389
+ "color": "#D8DEE9"
3390
+ }
3391
+ }
3392
+ }, {
3393
+ "content": ":",
3394
+ "props": {
3395
+ "style": {
3396
+ "color": "#ECEFF4"
3397
+ }
3398
+ }
3399
+ }, {
3400
+ "content": " ",
3401
+ "props": {
3402
+ "style": {
3403
+ "color": "#D8DEE9FF"
3404
+ }
3405
+ }
3406
+ }, {
3407
+ "content": "false",
3408
+ "props": {
3409
+ "style": {
3410
+ "color": "#81A1C1"
3411
+ }
3412
+ }
3413
+ }, {
3414
+ "content": ",",
3415
+ "props": {
3416
+ "style": {
3417
+ "color": "#ECEFF4"
3418
+ }
3419
+ }
3420
+ }]
3421
+ }, {
3422
+ "tokens": [{
3423
+ "content": " ",
3424
+ "props": {
3425
+ "style": {
3426
+ "color": "#D8DEE9FF"
3427
+ }
3428
+ }
3429
+ }, {
3430
+ "content": "},",
3431
+ "props": {
3432
+ "style": {
3433
+ "color": "#ECEFF4"
3434
+ }
3435
+ }
3436
+ }]
3437
+ }, {
3438
+ "tokens": [{
3439
+ "content": " ",
3440
+ "props": {
3441
+ "style": {
3442
+ "color": "#D8DEE9FF"
3443
+ }
3444
+ }
3445
+ }, {
3446
+ "content": "},",
3447
+ "props": {
3448
+ "style": {
3449
+ "color": "#ECEFF4"
3450
+ }
3451
+ }
3452
+ }]
3453
+ }, {
3454
+ "tokens": [{
3455
+ "content": "}",
3456
+ "props": {
3457
+ "style": {
3458
+ "color": "#ECEFF4"
3459
+ }
3460
+ }
3461
+ }, {
3462
+ "content": ")",
3463
+ "props": {
3464
+ "style": {
3465
+ "color": "#D8DEE9FF"
3466
+ }
3467
+ }
3468
+ }, {
3469
+ "content": ";",
3470
+ "props": {
3471
+ "style": {
3472
+ "color": "#81A1C1"
3473
+ }
3474
+ }
3475
+ }]
3476
+ }],
3477
+ "lang": "ts"
3478
+ },
3479
+ "annotations": []
3480
+ }]
3481
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
3482
+ id: "exclude-specified-third-party-dependencies",
3483
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3484
+ className: "header-anchor",
3485
+ "aria-hidden": "true",
3486
+ href: "#exclude-specified-third-party-dependencies",
3487
+ children: "#"
3488
+ }), "Exclude specified third-party dependencies"]
3489
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3490
+ children: ["And in addition to the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3491
+ children: "buildConfig.autoExternal"
3492
+ }), " API, ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3493
+ children: "buildConfig.externals"
3494
+ }), " can also control which third-party dependencies are to be handled. We can combine these two\nAPIs to handle the project's dependencies in a more granular way."]
3495
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3496
+ children: "For example, when we need to leave only certain dependencies unpacked, we can configure it as follows."
3497
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.blockquote, {
3498
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3499
+ children: "In this case, it is likely that some dependencies are not suitable for packaging. If this is the case, then you can handle it as follows."
3500
+ }), "\n"]
3501
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3502
+ codeConfig: chCodeConfig,
3503
+ northPanel: {
3504
+ "tabs": [""],
3505
+ "active": "",
3506
+ "heightRatio": 1
3507
+ },
3508
+ files: [{
3509
+ "name": "",
3510
+ "focus": "",
3511
+ "code": {
3512
+ "lines": [{
3513
+ "tokens": [{
3514
+ "content": "epxort",
3515
+ "props": {
3516
+ "style": {
3517
+ "color": "#D8DEE9"
3518
+ }
3519
+ }
3520
+ }, {
3521
+ "content": " ",
3522
+ "props": {
3523
+ "style": {
3524
+ "color": "#D8DEE9FF"
3525
+ }
3526
+ }
3527
+ }, {
3528
+ "content": "default",
3529
+ "props": {
3530
+ "style": {
3531
+ "color": "#81A1C1"
3532
+ }
3533
+ }
3534
+ }, {
3535
+ "content": " ",
3536
+ "props": {
3537
+ "style": {
3538
+ "color": "#D8DEE9FF"
3539
+ }
3540
+ }
3541
+ }, {
3542
+ "content": "defineConfig",
3543
+ "props": {
3544
+ "style": {
3545
+ "color": "#88C0D0"
3546
+ }
3547
+ }
3548
+ }, {
3549
+ "content": "(",
3550
+ "props": {
3551
+ "style": {
3552
+ "color": "#D8DEE9FF"
3553
+ }
3554
+ }
3555
+ }, {
3556
+ "content": "{",
3557
+ "props": {
3558
+ "style": {
3559
+ "color": "#ECEFF4"
3560
+ }
3561
+ }
3562
+ }]
3563
+ }, {
3564
+ "tokens": [{
3565
+ "content": " ",
3566
+ "props": {
3567
+ "style": {
3568
+ "color": "#D8DEE9FF"
3569
+ }
3570
+ }
3571
+ }, {
3572
+ "content": "buildConfig",
3573
+ "props": {
3574
+ "style": {
3575
+ "color": "#D8DEE9"
3576
+ }
3577
+ }
3578
+ }, {
3579
+ "content": ":",
3580
+ "props": {
3581
+ "style": {
3582
+ "color": "#ECEFF4"
3583
+ }
3584
+ }
3585
+ }, {
3586
+ "content": " ",
3587
+ "props": {
3588
+ "style": {
3589
+ "color": "#D8DEE9FF"
3590
+ }
3591
+ }
3592
+ }, {
3593
+ "content": "{",
3594
+ "props": {
3595
+ "style": {
3596
+ "color": "#ECEFF4"
3597
+ }
3598
+ }
3599
+ }]
3600
+ }, {
3601
+ "tokens": [{
3602
+ "content": " ",
3603
+ "props": {
3604
+ "style": {
3605
+ "color": "#D8DEE9FF"
3606
+ }
3607
+ }
3608
+ }, {
3609
+ "content": "autoExternal",
3610
+ "props": {
3611
+ "style": {
3612
+ "color": "#D8DEE9"
3613
+ }
3614
+ }
3615
+ }, {
3616
+ "content": ":",
3617
+ "props": {
3618
+ "style": {
3619
+ "color": "#ECEFF4"
3620
+ }
3621
+ }
3622
+ }, {
3623
+ "content": " ",
3624
+ "props": {
3625
+ "style": {
3626
+ "color": "#D8DEE9FF"
3627
+ }
3628
+ }
3629
+ }, {
3630
+ "content": "false",
3631
+ "props": {
3632
+ "style": {
3633
+ "color": "#81A1C1"
3634
+ }
3635
+ }
3636
+ }, {
3637
+ "content": ",",
3638
+ "props": {
3639
+ "style": {
3640
+ "color": "#ECEFF4"
3641
+ }
3642
+ }
3643
+ }]
3644
+ }, {
3645
+ "tokens": [{
3646
+ "content": " ",
3647
+ "props": {
3648
+ "style": {
3649
+ "color": "#D8DEE9FF"
3650
+ }
3651
+ }
3652
+ }, {
3653
+ "content": "externals",
3654
+ "props": {
3655
+ "style": {
3656
+ "color": "#D8DEE9"
3657
+ }
3658
+ }
3659
+ }, {
3660
+ "content": ":",
3661
+ "props": {
3662
+ "style": {
3663
+ "color": "#ECEFF4"
3664
+ }
3665
+ }
3666
+ }, {
3667
+ "content": " [",
3668
+ "props": {
3669
+ "style": {
3670
+ "color": "#D8DEE9FF"
3671
+ }
3672
+ }
3673
+ }, {
3674
+ "content": "'",
3675
+ "props": {
3676
+ "style": {
3677
+ "color": "#ECEFF4"
3678
+ }
3679
+ }
3680
+ }, {
3681
+ "content": "pkg-1",
3682
+ "props": {
3683
+ "style": {
3684
+ "color": "#A3BE8C"
3685
+ }
3686
+ }
3687
+ }, {
3688
+ "content": "'",
3689
+ "props": {
3690
+ "style": {
3691
+ "color": "#ECEFF4"
3692
+ }
3693
+ }
3694
+ }, {
3695
+ "content": ",",
3696
+ "props": {
3697
+ "style": {
3698
+ "color": "#ECEFF4"
3699
+ }
3700
+ }
3701
+ }, {
3702
+ "content": " ",
3703
+ "props": {
3704
+ "style": {
3705
+ "color": "#EBCB8B"
3706
+ }
3707
+ }
3708
+ }, {
3709
+ "content": "/",
3710
+ "props": {
3711
+ "style": {
3712
+ "color": "#ECEFF4"
3713
+ }
3714
+ }
3715
+ }, {
3716
+ "content": "pkg-2",
3717
+ "props": {
3718
+ "style": {
3719
+ "color": "#EBCB8B"
3720
+ }
3721
+ }
3722
+ }, {
3723
+ "content": "/",
3724
+ "props": {
3725
+ "style": {
3726
+ "color": "#ECEFF4"
3727
+ }
3728
+ }
3729
+ }, {
3730
+ "content": "]",
3731
+ "props": {
3732
+ "style": {
3733
+ "color": "#D8DEE9FF"
3734
+ }
3735
+ }
3736
+ }, {
3737
+ "content": ",",
3738
+ "props": {
3739
+ "style": {
3740
+ "color": "#ECEFF4"
3741
+ }
3742
+ }
3743
+ }]
3744
+ }, {
3745
+ "tokens": [{
3746
+ "content": " ",
3747
+ "props": {
3748
+ "style": {
3749
+ "color": "#D8DEE9FF"
3750
+ }
3751
+ }
3752
+ }, {
3753
+ "content": "}",
3754
+ "props": {
3755
+ "style": {
3756
+ "color": "#ECEFF4"
3757
+ }
3758
+ }
3759
+ }]
3760
+ }, {
3761
+ "tokens": [{
3762
+ "content": "}",
3763
+ "props": {
3764
+ "style": {
3765
+ "color": "#ECEFF4"
3766
+ }
3767
+ }
3768
+ }, {
3769
+ "content": ")",
3770
+ "props": {
3771
+ "style": {
3772
+ "color": "#D8DEE9FF"
3773
+ }
3774
+ }
3775
+ }, {
3776
+ "content": ";",
3777
+ "props": {
3778
+ "style": {
3779
+ "color": "#81A1C1"
3780
+ }
3781
+ }
3782
+ }]
3783
+ }],
3784
+ "lang": "ts"
3785
+ },
3786
+ "annotations": []
3787
+ }]
3788
+ })]
3789
+ });
3790
+ }
3791
+ function MDXContent() {
3792
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3793
+ var _ref = props.components || {},
3794
+ MDXLayout = _ref.wrapper;
3795
+ return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
3796
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
3797
+ })) : _createMdxContent(props);
3798
+ }
3799
+ _c = MDXContent;
3800
+ /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
3801
+ function _missingMdxReference(id, component, place) {
3802
+ throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/modern.js/website/module-tools/docs/en/guide/advance/external-dependency.mdx`" : ""));
3803
+ }
3804
+ var _c;
3805
+ __webpack_require__.$Refresh$.register(_c, "MDXContent");
3806
+
3807
+ /***/ })
3808
+
3809
+ }]);
3810
+ //# sourceMappingURL=en_guide_advance_external-dependency.js.map