@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,3997 @@
1
+ "use strict";
2
+ (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["en_guide_advance_asset"],{
3
+
4
+ /***/ "./docs/en/guide/advance/asset.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
+ Spotlight: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Spotlight,
24
+ CodeSlot: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.CodeSlot,
25
+ Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code
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/asset.mdx"
1191
+ };
1192
+ var frontmatter = {
1193
+ "sidebar_position": 6
1194
+ };
1195
+ var toc = [{
1196
+ "id": "default-behavior",
1197
+ "text": "Default behavior",
1198
+ "depth": 2
1199
+ }, {
1200
+ "id": "setting-cdn-prefix",
1201
+ "text": "Setting CDN Prefix",
1202
+ "depth": 2
1203
+ }, {
1204
+ "id": "svgr",
1205
+ "text": "SVGR",
1206
+ "depth": 2
1207
+ }];
1208
+ var title = "Handle static resource files";
1209
+ var content = "\"---\\nsidebar_position: 6\\n---\\n\\n# Handle static resource files\\n\\nThe module project will handle static resources used in the code. If configuration is required, then the [`buildConfig.asset`](/en/api/config/build-config#asset) API can be used.\\n\\n## Default behavior\\n\\nBy default, module projects are processed for the following static resources:\\n\\n- `'.svg'`、`'.png'`、`'.jpg'`、`'.jpeg'`、`'.gif'`、`'.webp'`\\n- `'.ttf'`、`'.otf'`、`'.woff'`、`'.woff2'`、`'.eot'`\\n- `'.mp3'`、`'.mp4'`、`'.webm'`、`'.ogg'`、`'.wav'`、`'.flac'`、`'.aac'`、`'.mov'`\\n\\nFor the handling of static files, the module project currently supports the following functions.\\n\\n- Set the static resource path to `. /assets`.\\n- For files over **10kb** they are inlined into the code.\\n- Use [SVGR](https://react-svgr.com/) for files with the `.svg` suffix.\\n\\nLet us look at the following example:\\n\\n<CH.Spotlight>\\n\\n```ts ./src/asset.ts\\nimport img from './bg.png';\\n//...\\n```\\n\\n---\\n\\nProject source code.\\n\\n```ts ./src/asset.ts\\nimport img from './bg.png';\\n//...\\n```\\n\\n---\\n\\nIf the size of `bg.png` is less than 10 kb, then the product directory structure and product content are.\\n\\n<CH.Code>\\n\\n```bash\\n./dist\\n└── asset.js\\n```\\n\\n---\\n\\n```js ./dist/asset.js\\nvar bg_default = 'data:image/png;base64,';\\nconsole.info(bg_default);\\n```\\n\\n</CH.Code>\\n\\nIf the size of `bg.png` is larger than 10 kb, then the product directory structure and product content are.\\n\\n<CH.Code>\\n\\n```bash\\n./dist\\n├── asset.js\\n└── assets\\n └── bg.13e2aba2.png\\n```\\n\\n---\\n\\n```js ./dist/asset.js\\nvar bg_default = 'assets/bg.13e2aba2.png';\\nconsole.info(bg_default);\\n```\\n\\n</CH.Code>\\n\\n</CH.Spotlight>\\n\\nWhen wanting to modify the default behavior, the following API can be used:\\n\\n- `asset.path`: modify the output path of the static resource file.\\n- `asset.limit`: modify the threshold value for inline static resource files.\\n\\n## Setting CDN Prefix\\n\\nIf the project is running in a browser environment, we may need to host static resources to a CDN and then use them in the production environment.\\n\\nThen we need to add the CDN base path in front of the path to the static resource file in the default generated build product. Again, see an example:\\n\\n<CH.Spotlight>\\n\\n```ts ./src/asset.ts\\nimport img from './bg.png';\\n//...\\n```\\n\\n---\\n\\nProject source code.\\n\\n```ts ./src/asset.ts\\n\\n```\\n\\n---\\n\\n`modern.config` config file。\\n\\n```ts ./modern.config.ts\\nexport default defineConfig({\\n buildConfig: {\\n format: 'umd',\\n asset: {\\n publicPath: 'https://cdn/',\\n },\\n },\\n});\\n```\\n\\n---\\n\\nIf the size of `bg.png` is larger than 10 kb, then the product content will be.\\n\\n```js ./dist/asset.js focus=7:7\\n(function (global, factory) {\\n if (typeof module === 'object' && typeof module.exports === 'object')\\n factory();\\n else if (typeof define === 'function' && define.amd) define([], factory);\\n else if (\\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self)\\n )\\n factory();\\n})(this, function () {\\n 'use strict';\\n var bg_default = 'http://cdn/assets/bg.13e2aba2.png';\\n // src/asset.tsx\\n console.info(bg_default);\\n});\\n```\\n\\n</CH.Spotlight>\\n\\n## SVGR\\n\\nWIP\\n\"";
1210
+ function _createMdxContent(props) {
1211
+ var _components = Object.assign({
1212
+ h1: "h1",
1213
+ a: "a",
1214
+ p: "p",
1215
+ code: "code",
1216
+ h2: "h2",
1217
+ ul: "ul",
1218
+ li: "li",
1219
+ strong: "strong",
1220
+ hr: "hr"
1221
+ }, props.components);
1222
+ if (!CH) _missingMdxReference("CH", false, "25:1-81:16");
1223
+ if (!CH.Code) _missingMdxReference("CH.Code", true, "63:1-79:11");
1224
+ if (!CH.CodeSlot) _missingMdxReference("CH.CodeSlot", true);
1225
+ if (!CH.Spotlight) _missingMdxReference("CH.Spotlight", true, "25:1-81:16");
1226
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1227
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1228
+ id: "handle-static-resource-files",
1229
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1230
+ className: "header-anchor",
1231
+ "aria-hidden": "true",
1232
+ href: "#handle-static-resource-files",
1233
+ children: "#"
1234
+ }), "Handle static resource files"]
1235
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1236
+ children: ["The module project will handle static resources used in the code. If configuration is required, then the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1237
+ href: "/en/api/config/build-config#asset.html",
1238
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1239
+ children: "buildConfig.asset"
1240
+ })
1241
+ }), " API can be used."]
1242
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1243
+ id: "default-behavior",
1244
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1245
+ className: "header-anchor",
1246
+ "aria-hidden": "true",
1247
+ href: "#default-behavior",
1248
+ children: "#"
1249
+ }), "Default behavior"]
1250
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1251
+ children: "By default, module projects are processed for the following static resources:"
1252
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1253
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1254
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1255
+ children: "'.svg'"
1256
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1257
+ children: "'.png'"
1258
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1259
+ children: "'.jpg'"
1260
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1261
+ children: "'.jpeg'"
1262
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1263
+ children: "'.gif'"
1264
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1265
+ children: "'.webp'"
1266
+ })]
1267
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1268
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1269
+ children: "'.ttf'"
1270
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1271
+ children: "'.otf'"
1272
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1273
+ children: "'.woff'"
1274
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1275
+ children: "'.woff2'"
1276
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1277
+ children: "'.eot'"
1278
+ })]
1279
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1280
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1281
+ children: "'.mp3'"
1282
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1283
+ children: "'.mp4'"
1284
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1285
+ children: "'.webm'"
1286
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1287
+ children: "'.ogg'"
1288
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1289
+ children: "'.wav'"
1290
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1291
+ children: "'.flac'"
1292
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1293
+ children: "'.aac'"
1294
+ }), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1295
+ children: "'.mov'"
1296
+ })]
1297
+ }), "\n"]
1298
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1299
+ children: "For the handling of static files, the module project currently supports the following functions."
1300
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1301
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1302
+ children: ["Set the static resource path to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1303
+ children: ". /assets"
1304
+ }), "."]
1305
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1306
+ children: ["For files over ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1307
+ children: "10kb"
1308
+ }), " they are inlined into the code."]
1309
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1310
+ children: ["Use ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1311
+ href: "https://react-svgr.com/",
1312
+ children: "SVGR"
1313
+ }), " for files with the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1314
+ children: ".svg"
1315
+ }), " suffix."]
1316
+ }), "\n"]
1317
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1318
+ children: "Let us look at the following example:"
1319
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
1320
+ codeConfig: chCodeConfig,
1321
+ editorSteps: [{
1322
+ "northPanel": {
1323
+ "tabs": ["./src/asset.ts"],
1324
+ "active": "./src/asset.ts",
1325
+ "heightRatio": 1
1326
+ },
1327
+ "files": [{
1328
+ "name": "./src/asset.ts",
1329
+ "focus": "",
1330
+ "code": {
1331
+ "lines": [{
1332
+ "tokens": [{
1333
+ "content": "import",
1334
+ "props": {
1335
+ "style": {
1336
+ "color": "#81A1C1"
1337
+ }
1338
+ }
1339
+ }, {
1340
+ "content": " ",
1341
+ "props": {
1342
+ "style": {
1343
+ "color": "#D8DEE9FF"
1344
+ }
1345
+ }
1346
+ }, {
1347
+ "content": "img",
1348
+ "props": {
1349
+ "style": {
1350
+ "color": "#D8DEE9"
1351
+ }
1352
+ }
1353
+ }, {
1354
+ "content": " ",
1355
+ "props": {
1356
+ "style": {
1357
+ "color": "#D8DEE9FF"
1358
+ }
1359
+ }
1360
+ }, {
1361
+ "content": "from",
1362
+ "props": {
1363
+ "style": {
1364
+ "color": "#81A1C1"
1365
+ }
1366
+ }
1367
+ }, {
1368
+ "content": " ",
1369
+ "props": {
1370
+ "style": {
1371
+ "color": "#D8DEE9FF"
1372
+ }
1373
+ }
1374
+ }, {
1375
+ "content": "'",
1376
+ "props": {
1377
+ "style": {
1378
+ "color": "#ECEFF4"
1379
+ }
1380
+ }
1381
+ }, {
1382
+ "content": "./bg.png",
1383
+ "props": {
1384
+ "style": {
1385
+ "color": "#A3BE8C"
1386
+ }
1387
+ }
1388
+ }, {
1389
+ "content": "'",
1390
+ "props": {
1391
+ "style": {
1392
+ "color": "#ECEFF4"
1393
+ }
1394
+ }
1395
+ }, {
1396
+ "content": ";",
1397
+ "props": {
1398
+ "style": {
1399
+ "color": "#81A1C1"
1400
+ }
1401
+ }
1402
+ }]
1403
+ }, {
1404
+ "tokens": [{
1405
+ "content": "//...",
1406
+ "props": {
1407
+ "style": {
1408
+ "color": "#616E88"
1409
+ }
1410
+ }
1411
+ }]
1412
+ }],
1413
+ "lang": "ts"
1414
+ },
1415
+ "annotations": []
1416
+ }]
1417
+ }, {
1418
+ "northPanel": {
1419
+ "tabs": ["./src/asset.ts"],
1420
+ "active": "./src/asset.ts",
1421
+ "heightRatio": 1
1422
+ },
1423
+ "files": [{
1424
+ "name": "./src/asset.ts",
1425
+ "focus": "",
1426
+ "code": {
1427
+ "lines": [{
1428
+ "tokens": [{
1429
+ "content": "import",
1430
+ "props": {
1431
+ "style": {
1432
+ "color": "#81A1C1"
1433
+ }
1434
+ }
1435
+ }, {
1436
+ "content": " ",
1437
+ "props": {
1438
+ "style": {
1439
+ "color": "#D8DEE9FF"
1440
+ }
1441
+ }
1442
+ }, {
1443
+ "content": "img",
1444
+ "props": {
1445
+ "style": {
1446
+ "color": "#D8DEE9"
1447
+ }
1448
+ }
1449
+ }, {
1450
+ "content": " ",
1451
+ "props": {
1452
+ "style": {
1453
+ "color": "#D8DEE9FF"
1454
+ }
1455
+ }
1456
+ }, {
1457
+ "content": "from",
1458
+ "props": {
1459
+ "style": {
1460
+ "color": "#81A1C1"
1461
+ }
1462
+ }
1463
+ }, {
1464
+ "content": " ",
1465
+ "props": {
1466
+ "style": {
1467
+ "color": "#D8DEE9FF"
1468
+ }
1469
+ }
1470
+ }, {
1471
+ "content": "'",
1472
+ "props": {
1473
+ "style": {
1474
+ "color": "#ECEFF4"
1475
+ }
1476
+ }
1477
+ }, {
1478
+ "content": "./bg.png",
1479
+ "props": {
1480
+ "style": {
1481
+ "color": "#A3BE8C"
1482
+ }
1483
+ }
1484
+ }, {
1485
+ "content": "'",
1486
+ "props": {
1487
+ "style": {
1488
+ "color": "#ECEFF4"
1489
+ }
1490
+ }
1491
+ }, {
1492
+ "content": ";",
1493
+ "props": {
1494
+ "style": {
1495
+ "color": "#81A1C1"
1496
+ }
1497
+ }
1498
+ }]
1499
+ }, {
1500
+ "tokens": [{
1501
+ "content": "//...",
1502
+ "props": {
1503
+ "style": {
1504
+ "color": "#616E88"
1505
+ }
1506
+ }
1507
+ }]
1508
+ }],
1509
+ "lang": "ts"
1510
+ },
1511
+ "annotations": []
1512
+ }],
1513
+ "southPanel": undefined
1514
+ }, {
1515
+ "northPanel": {
1516
+ "tabs": ["./src/asset.ts", ""],
1517
+ "active": "",
1518
+ "heightRatio": 0.5
1519
+ },
1520
+ "files": [{
1521
+ "name": "./src/asset.ts",
1522
+ "focus": "",
1523
+ "code": {
1524
+ "lines": [{
1525
+ "tokens": [{
1526
+ "content": "import",
1527
+ "props": {
1528
+ "style": {
1529
+ "color": "#81A1C1"
1530
+ }
1531
+ }
1532
+ }, {
1533
+ "content": " ",
1534
+ "props": {
1535
+ "style": {
1536
+ "color": "#D8DEE9FF"
1537
+ }
1538
+ }
1539
+ }, {
1540
+ "content": "img",
1541
+ "props": {
1542
+ "style": {
1543
+ "color": "#D8DEE9"
1544
+ }
1545
+ }
1546
+ }, {
1547
+ "content": " ",
1548
+ "props": {
1549
+ "style": {
1550
+ "color": "#D8DEE9FF"
1551
+ }
1552
+ }
1553
+ }, {
1554
+ "content": "from",
1555
+ "props": {
1556
+ "style": {
1557
+ "color": "#81A1C1"
1558
+ }
1559
+ }
1560
+ }, {
1561
+ "content": " ",
1562
+ "props": {
1563
+ "style": {
1564
+ "color": "#D8DEE9FF"
1565
+ }
1566
+ }
1567
+ }, {
1568
+ "content": "'",
1569
+ "props": {
1570
+ "style": {
1571
+ "color": "#ECEFF4"
1572
+ }
1573
+ }
1574
+ }, {
1575
+ "content": "./bg.png",
1576
+ "props": {
1577
+ "style": {
1578
+ "color": "#A3BE8C"
1579
+ }
1580
+ }
1581
+ }, {
1582
+ "content": "'",
1583
+ "props": {
1584
+ "style": {
1585
+ "color": "#ECEFF4"
1586
+ }
1587
+ }
1588
+ }, {
1589
+ "content": ";",
1590
+ "props": {
1591
+ "style": {
1592
+ "color": "#81A1C1"
1593
+ }
1594
+ }
1595
+ }]
1596
+ }, {
1597
+ "tokens": [{
1598
+ "content": "//...",
1599
+ "props": {
1600
+ "style": {
1601
+ "color": "#616E88"
1602
+ }
1603
+ }
1604
+ }]
1605
+ }],
1606
+ "lang": "ts"
1607
+ },
1608
+ "annotations": []
1609
+ }, {
1610
+ "name": "",
1611
+ "focus": "",
1612
+ "code": {
1613
+ "lines": [{
1614
+ "tokens": [{
1615
+ "content": "./dist",
1616
+ "props": {
1617
+ "style": {
1618
+ "color": "#D8DEE9FF"
1619
+ }
1620
+ }
1621
+ }]
1622
+ }, {
1623
+ "tokens": [{
1624
+ "content": "└── asset.js",
1625
+ "props": {
1626
+ "style": {
1627
+ "color": "#D8DEE9FF"
1628
+ }
1629
+ }
1630
+ }]
1631
+ }],
1632
+ "lang": "bash"
1633
+ },
1634
+ "annotations": []
1635
+ }, {
1636
+ "name": "./dist/asset.js",
1637
+ "focus": "",
1638
+ "code": {
1639
+ "lines": [{
1640
+ "tokens": [{
1641
+ "content": "var",
1642
+ "props": {
1643
+ "style": {
1644
+ "color": "#81A1C1"
1645
+ }
1646
+ }
1647
+ }, {
1648
+ "content": " ",
1649
+ "props": {
1650
+ "style": {
1651
+ "color": "#D8DEE9FF"
1652
+ }
1653
+ }
1654
+ }, {
1655
+ "content": "bg_default",
1656
+ "props": {
1657
+ "style": {
1658
+ "color": "#D8DEE9"
1659
+ }
1660
+ }
1661
+ }, {
1662
+ "content": " ",
1663
+ "props": {
1664
+ "style": {
1665
+ "color": "#D8DEE9FF"
1666
+ }
1667
+ }
1668
+ }, {
1669
+ "content": "=",
1670
+ "props": {
1671
+ "style": {
1672
+ "color": "#81A1C1"
1673
+ }
1674
+ }
1675
+ }, {
1676
+ "content": " ",
1677
+ "props": {
1678
+ "style": {
1679
+ "color": "#D8DEE9FF"
1680
+ }
1681
+ }
1682
+ }, {
1683
+ "content": "'",
1684
+ "props": {
1685
+ "style": {
1686
+ "color": "#ECEFF4"
1687
+ }
1688
+ }
1689
+ }, {
1690
+ "content": "data:image/png;base64,",
1691
+ "props": {
1692
+ "style": {
1693
+ "color": "#A3BE8C"
1694
+ }
1695
+ }
1696
+ }, {
1697
+ "content": "'",
1698
+ "props": {
1699
+ "style": {
1700
+ "color": "#ECEFF4"
1701
+ }
1702
+ }
1703
+ }, {
1704
+ "content": ";",
1705
+ "props": {
1706
+ "style": {
1707
+ "color": "#81A1C1"
1708
+ }
1709
+ }
1710
+ }]
1711
+ }, {
1712
+ "tokens": [{
1713
+ "content": "console",
1714
+ "props": {
1715
+ "style": {
1716
+ "color": "#D8DEE9"
1717
+ }
1718
+ }
1719
+ }, {
1720
+ "content": ".",
1721
+ "props": {
1722
+ "style": {
1723
+ "color": "#ECEFF4"
1724
+ }
1725
+ }
1726
+ }, {
1727
+ "content": "info",
1728
+ "props": {
1729
+ "style": {
1730
+ "color": "#88C0D0"
1731
+ }
1732
+ }
1733
+ }, {
1734
+ "content": "(",
1735
+ "props": {
1736
+ "style": {
1737
+ "color": "#D8DEE9FF"
1738
+ }
1739
+ }
1740
+ }, {
1741
+ "content": "bg_default",
1742
+ "props": {
1743
+ "style": {
1744
+ "color": "#D8DEE9"
1745
+ }
1746
+ }
1747
+ }, {
1748
+ "content": ")",
1749
+ "props": {
1750
+ "style": {
1751
+ "color": "#D8DEE9FF"
1752
+ }
1753
+ }
1754
+ }, {
1755
+ "content": ";",
1756
+ "props": {
1757
+ "style": {
1758
+ "color": "#81A1C1"
1759
+ }
1760
+ }
1761
+ }]
1762
+ }],
1763
+ "lang": "js"
1764
+ },
1765
+ "annotations": []
1766
+ }],
1767
+ "southPanel": {
1768
+ "tabs": ["./dist/asset.js"],
1769
+ "active": "./dist/asset.js",
1770
+ "heightRatio": 0.5
1771
+ }
1772
+ }],
1773
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1774
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
1775
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1776
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1777
+ children: "Project source code."
1778
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
1779
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1780
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1781
+ children: ["If the size of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1782
+ children: "bg.png"
1783
+ }), " is less than 10 kb, then the product directory structure and product content are."]
1784
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1785
+ children: ["If the size of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1786
+ children: "bg.png"
1787
+ }), " is larger than 10 kb, then the product directory structure and product content are."]
1788
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Code, {
1789
+ codeConfig: chCodeConfig,
1790
+ northPanel: {
1791
+ "tabs": [""],
1792
+ "active": "",
1793
+ "heightRatio": 0.6
1794
+ },
1795
+ southPanel: {
1796
+ "tabs": ["./dist/asset.js"],
1797
+ "active": "./dist/asset.js",
1798
+ "heightRatio": 0.4
1799
+ },
1800
+ files: [{
1801
+ "name": "",
1802
+ "focus": "",
1803
+ "code": {
1804
+ "lines": [{
1805
+ "tokens": [{
1806
+ "content": "./dist",
1807
+ "props": {
1808
+ "style": {
1809
+ "color": "#D8DEE9FF"
1810
+ }
1811
+ }
1812
+ }]
1813
+ }, {
1814
+ "tokens": [{
1815
+ "content": "├── asset.js",
1816
+ "props": {
1817
+ "style": {
1818
+ "color": "#D8DEE9FF"
1819
+ }
1820
+ }
1821
+ }]
1822
+ }, {
1823
+ "tokens": [{
1824
+ "content": "└── assets",
1825
+ "props": {
1826
+ "style": {
1827
+ "color": "#D8DEE9FF"
1828
+ }
1829
+ }
1830
+ }]
1831
+ }, {
1832
+ "tokens": [{
1833
+ "content": " └── bg.13e2aba2.png",
1834
+ "props": {
1835
+ "style": {
1836
+ "color": "#D8DEE9FF"
1837
+ }
1838
+ }
1839
+ }]
1840
+ }],
1841
+ "lang": "bash"
1842
+ },
1843
+ "annotations": []
1844
+ }, {
1845
+ "name": "./dist/asset.js",
1846
+ "focus": "",
1847
+ "code": {
1848
+ "lines": [{
1849
+ "tokens": [{
1850
+ "content": "var",
1851
+ "props": {
1852
+ "style": {
1853
+ "color": "#81A1C1"
1854
+ }
1855
+ }
1856
+ }, {
1857
+ "content": " ",
1858
+ "props": {
1859
+ "style": {
1860
+ "color": "#D8DEE9FF"
1861
+ }
1862
+ }
1863
+ }, {
1864
+ "content": "bg_default",
1865
+ "props": {
1866
+ "style": {
1867
+ "color": "#D8DEE9"
1868
+ }
1869
+ }
1870
+ }, {
1871
+ "content": " ",
1872
+ "props": {
1873
+ "style": {
1874
+ "color": "#D8DEE9FF"
1875
+ }
1876
+ }
1877
+ }, {
1878
+ "content": "=",
1879
+ "props": {
1880
+ "style": {
1881
+ "color": "#81A1C1"
1882
+ }
1883
+ }
1884
+ }, {
1885
+ "content": " ",
1886
+ "props": {
1887
+ "style": {
1888
+ "color": "#D8DEE9FF"
1889
+ }
1890
+ }
1891
+ }, {
1892
+ "content": "'",
1893
+ "props": {
1894
+ "style": {
1895
+ "color": "#ECEFF4"
1896
+ }
1897
+ }
1898
+ }, {
1899
+ "content": "assets/bg.13e2aba2.png",
1900
+ "props": {
1901
+ "style": {
1902
+ "color": "#A3BE8C"
1903
+ }
1904
+ }
1905
+ }, {
1906
+ "content": "'",
1907
+ "props": {
1908
+ "style": {
1909
+ "color": "#ECEFF4"
1910
+ }
1911
+ }
1912
+ }, {
1913
+ "content": ";",
1914
+ "props": {
1915
+ "style": {
1916
+ "color": "#81A1C1"
1917
+ }
1918
+ }
1919
+ }]
1920
+ }, {
1921
+ "tokens": [{
1922
+ "content": "console",
1923
+ "props": {
1924
+ "style": {
1925
+ "color": "#D8DEE9"
1926
+ }
1927
+ }
1928
+ }, {
1929
+ "content": ".",
1930
+ "props": {
1931
+ "style": {
1932
+ "color": "#ECEFF4"
1933
+ }
1934
+ }
1935
+ }, {
1936
+ "content": "info",
1937
+ "props": {
1938
+ "style": {
1939
+ "color": "#88C0D0"
1940
+ }
1941
+ }
1942
+ }, {
1943
+ "content": "(",
1944
+ "props": {
1945
+ "style": {
1946
+ "color": "#D8DEE9FF"
1947
+ }
1948
+ }
1949
+ }, {
1950
+ "content": "bg_default",
1951
+ "props": {
1952
+ "style": {
1953
+ "color": "#D8DEE9"
1954
+ }
1955
+ }
1956
+ }, {
1957
+ "content": ")",
1958
+ "props": {
1959
+ "style": {
1960
+ "color": "#D8DEE9FF"
1961
+ }
1962
+ }
1963
+ }, {
1964
+ "content": ";",
1965
+ "props": {
1966
+ "style": {
1967
+ "color": "#81A1C1"
1968
+ }
1969
+ }
1970
+ }]
1971
+ }],
1972
+ "lang": "js"
1973
+ },
1974
+ "annotations": []
1975
+ }],
1976
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1977
+ codeConfig: chCodeConfig,
1978
+ northPanel: {
1979
+ "tabs": [""],
1980
+ "active": "",
1981
+ "heightRatio": 1
1982
+ },
1983
+ files: [{
1984
+ "name": "",
1985
+ "focus": "",
1986
+ "code": {
1987
+ "lines": [{
1988
+ "tokens": [{
1989
+ "content": "./dist",
1990
+ "props": {
1991
+ "style": {
1992
+ "color": "#D8DEE9FF"
1993
+ }
1994
+ }
1995
+ }]
1996
+ }, {
1997
+ "tokens": [{
1998
+ "content": "├── asset.js",
1999
+ "props": {
2000
+ "style": {
2001
+ "color": "#D8DEE9FF"
2002
+ }
2003
+ }
2004
+ }]
2005
+ }, {
2006
+ "tokens": [{
2007
+ "content": "└── assets",
2008
+ "props": {
2009
+ "style": {
2010
+ "color": "#D8DEE9FF"
2011
+ }
2012
+ }
2013
+ }]
2014
+ }, {
2015
+ "tokens": [{
2016
+ "content": " └── bg.13e2aba2.png",
2017
+ "props": {
2018
+ "style": {
2019
+ "color": "#D8DEE9FF"
2020
+ }
2021
+ }
2022
+ }]
2023
+ }],
2024
+ "lang": "bash"
2025
+ },
2026
+ "annotations": []
2027
+ }]
2028
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.hr, {}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2029
+ codeConfig: chCodeConfig,
2030
+ northPanel: {
2031
+ "tabs": ["./dist/asset.js"],
2032
+ "active": "./dist/asset.js",
2033
+ "heightRatio": 1
2034
+ },
2035
+ files: [{
2036
+ "name": "./dist/asset.js",
2037
+ "focus": "",
2038
+ "code": {
2039
+ "lines": [{
2040
+ "tokens": [{
2041
+ "content": "var",
2042
+ "props": {
2043
+ "style": {
2044
+ "color": "#81A1C1"
2045
+ }
2046
+ }
2047
+ }, {
2048
+ "content": " ",
2049
+ "props": {
2050
+ "style": {
2051
+ "color": "#D8DEE9FF"
2052
+ }
2053
+ }
2054
+ }, {
2055
+ "content": "bg_default",
2056
+ "props": {
2057
+ "style": {
2058
+ "color": "#D8DEE9"
2059
+ }
2060
+ }
2061
+ }, {
2062
+ "content": " ",
2063
+ "props": {
2064
+ "style": {
2065
+ "color": "#D8DEE9FF"
2066
+ }
2067
+ }
2068
+ }, {
2069
+ "content": "=",
2070
+ "props": {
2071
+ "style": {
2072
+ "color": "#81A1C1"
2073
+ }
2074
+ }
2075
+ }, {
2076
+ "content": " ",
2077
+ "props": {
2078
+ "style": {
2079
+ "color": "#D8DEE9FF"
2080
+ }
2081
+ }
2082
+ }, {
2083
+ "content": "'",
2084
+ "props": {
2085
+ "style": {
2086
+ "color": "#ECEFF4"
2087
+ }
2088
+ }
2089
+ }, {
2090
+ "content": "assets/bg.13e2aba2.png",
2091
+ "props": {
2092
+ "style": {
2093
+ "color": "#A3BE8C"
2094
+ }
2095
+ }
2096
+ }, {
2097
+ "content": "'",
2098
+ "props": {
2099
+ "style": {
2100
+ "color": "#ECEFF4"
2101
+ }
2102
+ }
2103
+ }, {
2104
+ "content": ";",
2105
+ "props": {
2106
+ "style": {
2107
+ "color": "#81A1C1"
2108
+ }
2109
+ }
2110
+ }]
2111
+ }, {
2112
+ "tokens": [{
2113
+ "content": "console",
2114
+ "props": {
2115
+ "style": {
2116
+ "color": "#D8DEE9"
2117
+ }
2118
+ }
2119
+ }, {
2120
+ "content": ".",
2121
+ "props": {
2122
+ "style": {
2123
+ "color": "#ECEFF4"
2124
+ }
2125
+ }
2126
+ }, {
2127
+ "content": "info",
2128
+ "props": {
2129
+ "style": {
2130
+ "color": "#88C0D0"
2131
+ }
2132
+ }
2133
+ }, {
2134
+ "content": "(",
2135
+ "props": {
2136
+ "style": {
2137
+ "color": "#D8DEE9FF"
2138
+ }
2139
+ }
2140
+ }, {
2141
+ "content": "bg_default",
2142
+ "props": {
2143
+ "style": {
2144
+ "color": "#D8DEE9"
2145
+ }
2146
+ }
2147
+ }, {
2148
+ "content": ")",
2149
+ "props": {
2150
+ "style": {
2151
+ "color": "#D8DEE9FF"
2152
+ }
2153
+ }
2154
+ }, {
2155
+ "content": ";",
2156
+ "props": {
2157
+ "style": {
2158
+ "color": "#81A1C1"
2159
+ }
2160
+ }
2161
+ }]
2162
+ }],
2163
+ "lang": "js"
2164
+ },
2165
+ "annotations": []
2166
+ }]
2167
+ })]
2168
+ })]
2169
+ })]
2170
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2171
+ children: "When wanting to modify the default behavior, the following API can be used:"
2172
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2173
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2174
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2175
+ children: "asset.path"
2176
+ }), ": modify the output path of the static resource file."]
2177
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2178
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2179
+ children: "asset.limit"
2180
+ }), ": modify the threshold value for inline static resource files."]
2181
+ }), "\n"]
2182
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2183
+ id: "setting-cdn-prefix",
2184
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2185
+ className: "header-anchor",
2186
+ "aria-hidden": "true",
2187
+ href: "#setting-cdn-prefix",
2188
+ children: "#"
2189
+ }), "Setting CDN Prefix"]
2190
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2191
+ children: "If the project is running in a browser environment, we may need to host static resources to a CDN and then use them in the production environment."
2192
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2193
+ children: "Then we need to add the CDN base path in front of the path to the static resource file in the default generated build product. Again, see an example:"
2194
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
2195
+ codeConfig: chCodeConfig,
2196
+ editorSteps: [{
2197
+ "northPanel": {
2198
+ "tabs": ["./src/asset.ts"],
2199
+ "active": "./src/asset.ts",
2200
+ "heightRatio": 1
2201
+ },
2202
+ "files": [{
2203
+ "name": "./src/asset.ts",
2204
+ "focus": "",
2205
+ "code": {
2206
+ "lines": [{
2207
+ "tokens": [{
2208
+ "content": "import",
2209
+ "props": {
2210
+ "style": {
2211
+ "color": "#81A1C1"
2212
+ }
2213
+ }
2214
+ }, {
2215
+ "content": " ",
2216
+ "props": {
2217
+ "style": {
2218
+ "color": "#D8DEE9FF"
2219
+ }
2220
+ }
2221
+ }, {
2222
+ "content": "img",
2223
+ "props": {
2224
+ "style": {
2225
+ "color": "#D8DEE9"
2226
+ }
2227
+ }
2228
+ }, {
2229
+ "content": " ",
2230
+ "props": {
2231
+ "style": {
2232
+ "color": "#D8DEE9FF"
2233
+ }
2234
+ }
2235
+ }, {
2236
+ "content": "from",
2237
+ "props": {
2238
+ "style": {
2239
+ "color": "#81A1C1"
2240
+ }
2241
+ }
2242
+ }, {
2243
+ "content": " ",
2244
+ "props": {
2245
+ "style": {
2246
+ "color": "#D8DEE9FF"
2247
+ }
2248
+ }
2249
+ }, {
2250
+ "content": "'",
2251
+ "props": {
2252
+ "style": {
2253
+ "color": "#ECEFF4"
2254
+ }
2255
+ }
2256
+ }, {
2257
+ "content": "./bg.png",
2258
+ "props": {
2259
+ "style": {
2260
+ "color": "#A3BE8C"
2261
+ }
2262
+ }
2263
+ }, {
2264
+ "content": "'",
2265
+ "props": {
2266
+ "style": {
2267
+ "color": "#ECEFF4"
2268
+ }
2269
+ }
2270
+ }, {
2271
+ "content": ";",
2272
+ "props": {
2273
+ "style": {
2274
+ "color": "#81A1C1"
2275
+ }
2276
+ }
2277
+ }]
2278
+ }, {
2279
+ "tokens": [{
2280
+ "content": "//...",
2281
+ "props": {
2282
+ "style": {
2283
+ "color": "#616E88"
2284
+ }
2285
+ }
2286
+ }]
2287
+ }],
2288
+ "lang": "ts"
2289
+ },
2290
+ "annotations": []
2291
+ }]
2292
+ }, {
2293
+ "northPanel": {
2294
+ "tabs": ["./src/asset.ts"],
2295
+ "active": "./src/asset.ts",
2296
+ "heightRatio": 1
2297
+ },
2298
+ "files": [{
2299
+ "name": "./src/asset.ts",
2300
+ "focus": "",
2301
+ "code": {
2302
+ "lines": [{
2303
+ "tokens": [{
2304
+ "content": "import",
2305
+ "props": {
2306
+ "style": {
2307
+ "color": "#81A1C1"
2308
+ }
2309
+ }
2310
+ }, {
2311
+ "content": " ",
2312
+ "props": {
2313
+ "style": {
2314
+ "color": "#D8DEE9FF"
2315
+ }
2316
+ }
2317
+ }, {
2318
+ "content": "img",
2319
+ "props": {
2320
+ "style": {
2321
+ "color": "#D8DEE9"
2322
+ }
2323
+ }
2324
+ }, {
2325
+ "content": " ",
2326
+ "props": {
2327
+ "style": {
2328
+ "color": "#D8DEE9FF"
2329
+ }
2330
+ }
2331
+ }, {
2332
+ "content": "from",
2333
+ "props": {
2334
+ "style": {
2335
+ "color": "#81A1C1"
2336
+ }
2337
+ }
2338
+ }, {
2339
+ "content": " ",
2340
+ "props": {
2341
+ "style": {
2342
+ "color": "#D8DEE9FF"
2343
+ }
2344
+ }
2345
+ }, {
2346
+ "content": "'",
2347
+ "props": {
2348
+ "style": {
2349
+ "color": "#ECEFF4"
2350
+ }
2351
+ }
2352
+ }, {
2353
+ "content": "./bg.png",
2354
+ "props": {
2355
+ "style": {
2356
+ "color": "#A3BE8C"
2357
+ }
2358
+ }
2359
+ }, {
2360
+ "content": "'",
2361
+ "props": {
2362
+ "style": {
2363
+ "color": "#ECEFF4"
2364
+ }
2365
+ }
2366
+ }, {
2367
+ "content": ";",
2368
+ "props": {
2369
+ "style": {
2370
+ "color": "#81A1C1"
2371
+ }
2372
+ }
2373
+ }]
2374
+ }, {
2375
+ "tokens": [{
2376
+ "content": "//...",
2377
+ "props": {
2378
+ "style": {
2379
+ "color": "#616E88"
2380
+ }
2381
+ }
2382
+ }]
2383
+ }],
2384
+ "lang": "ts"
2385
+ },
2386
+ "annotations": []
2387
+ }],
2388
+ "southPanel": undefined
2389
+ }, {
2390
+ "northPanel": {
2391
+ "tabs": ["./src/asset.ts", "./modern.config.ts"],
2392
+ "active": "./modern.config.ts",
2393
+ "heightRatio": 1
2394
+ },
2395
+ "files": [{
2396
+ "name": "./src/asset.ts",
2397
+ "focus": "",
2398
+ "code": {
2399
+ "lines": [{
2400
+ "tokens": [{
2401
+ "content": "import",
2402
+ "props": {
2403
+ "style": {
2404
+ "color": "#81A1C1"
2405
+ }
2406
+ }
2407
+ }, {
2408
+ "content": " ",
2409
+ "props": {
2410
+ "style": {
2411
+ "color": "#D8DEE9FF"
2412
+ }
2413
+ }
2414
+ }, {
2415
+ "content": "img",
2416
+ "props": {
2417
+ "style": {
2418
+ "color": "#D8DEE9"
2419
+ }
2420
+ }
2421
+ }, {
2422
+ "content": " ",
2423
+ "props": {
2424
+ "style": {
2425
+ "color": "#D8DEE9FF"
2426
+ }
2427
+ }
2428
+ }, {
2429
+ "content": "from",
2430
+ "props": {
2431
+ "style": {
2432
+ "color": "#81A1C1"
2433
+ }
2434
+ }
2435
+ }, {
2436
+ "content": " ",
2437
+ "props": {
2438
+ "style": {
2439
+ "color": "#D8DEE9FF"
2440
+ }
2441
+ }
2442
+ }, {
2443
+ "content": "'",
2444
+ "props": {
2445
+ "style": {
2446
+ "color": "#ECEFF4"
2447
+ }
2448
+ }
2449
+ }, {
2450
+ "content": "./bg.png",
2451
+ "props": {
2452
+ "style": {
2453
+ "color": "#A3BE8C"
2454
+ }
2455
+ }
2456
+ }, {
2457
+ "content": "'",
2458
+ "props": {
2459
+ "style": {
2460
+ "color": "#ECEFF4"
2461
+ }
2462
+ }
2463
+ }, {
2464
+ "content": ";",
2465
+ "props": {
2466
+ "style": {
2467
+ "color": "#81A1C1"
2468
+ }
2469
+ }
2470
+ }]
2471
+ }, {
2472
+ "tokens": [{
2473
+ "content": "//...",
2474
+ "props": {
2475
+ "style": {
2476
+ "color": "#616E88"
2477
+ }
2478
+ }
2479
+ }]
2480
+ }],
2481
+ "lang": "ts"
2482
+ },
2483
+ "annotations": []
2484
+ }, {
2485
+ "name": "./modern.config.ts",
2486
+ "focus": "",
2487
+ "code": {
2488
+ "lines": [{
2489
+ "tokens": [{
2490
+ "content": "export",
2491
+ "props": {
2492
+ "style": {
2493
+ "color": "#81A1C1"
2494
+ }
2495
+ }
2496
+ }, {
2497
+ "content": " ",
2498
+ "props": {
2499
+ "style": {
2500
+ "color": "#D8DEE9FF"
2501
+ }
2502
+ }
2503
+ }, {
2504
+ "content": "default",
2505
+ "props": {
2506
+ "style": {
2507
+ "color": "#81A1C1"
2508
+ }
2509
+ }
2510
+ }, {
2511
+ "content": " ",
2512
+ "props": {
2513
+ "style": {
2514
+ "color": "#D8DEE9FF"
2515
+ }
2516
+ }
2517
+ }, {
2518
+ "content": "defineConfig",
2519
+ "props": {
2520
+ "style": {
2521
+ "color": "#88C0D0"
2522
+ }
2523
+ }
2524
+ }, {
2525
+ "content": "(",
2526
+ "props": {
2527
+ "style": {
2528
+ "color": "#D8DEE9FF"
2529
+ }
2530
+ }
2531
+ }, {
2532
+ "content": "{",
2533
+ "props": {
2534
+ "style": {
2535
+ "color": "#ECEFF4"
2536
+ }
2537
+ }
2538
+ }]
2539
+ }, {
2540
+ "tokens": [{
2541
+ "content": " ",
2542
+ "props": {
2543
+ "style": {
2544
+ "color": "#D8DEE9FF"
2545
+ }
2546
+ }
2547
+ }, {
2548
+ "content": "buildConfig",
2549
+ "props": {
2550
+ "style": {
2551
+ "color": "#D8DEE9"
2552
+ }
2553
+ }
2554
+ }, {
2555
+ "content": ":",
2556
+ "props": {
2557
+ "style": {
2558
+ "color": "#ECEFF4"
2559
+ }
2560
+ }
2561
+ }, {
2562
+ "content": " ",
2563
+ "props": {
2564
+ "style": {
2565
+ "color": "#D8DEE9FF"
2566
+ }
2567
+ }
2568
+ }, {
2569
+ "content": "{",
2570
+ "props": {
2571
+ "style": {
2572
+ "color": "#ECEFF4"
2573
+ }
2574
+ }
2575
+ }]
2576
+ }, {
2577
+ "tokens": [{
2578
+ "content": " ",
2579
+ "props": {
2580
+ "style": {
2581
+ "color": "#D8DEE9FF"
2582
+ }
2583
+ }
2584
+ }, {
2585
+ "content": "format",
2586
+ "props": {
2587
+ "style": {
2588
+ "color": "#D8DEE9"
2589
+ }
2590
+ }
2591
+ }, {
2592
+ "content": ":",
2593
+ "props": {
2594
+ "style": {
2595
+ "color": "#ECEFF4"
2596
+ }
2597
+ }
2598
+ }, {
2599
+ "content": " ",
2600
+ "props": {
2601
+ "style": {
2602
+ "color": "#D8DEE9FF"
2603
+ }
2604
+ }
2605
+ }, {
2606
+ "content": "'",
2607
+ "props": {
2608
+ "style": {
2609
+ "color": "#ECEFF4"
2610
+ }
2611
+ }
2612
+ }, {
2613
+ "content": "umd",
2614
+ "props": {
2615
+ "style": {
2616
+ "color": "#A3BE8C"
2617
+ }
2618
+ }
2619
+ }, {
2620
+ "content": "'",
2621
+ "props": {
2622
+ "style": {
2623
+ "color": "#ECEFF4"
2624
+ }
2625
+ }
2626
+ }, {
2627
+ "content": ",",
2628
+ "props": {
2629
+ "style": {
2630
+ "color": "#ECEFF4"
2631
+ }
2632
+ }
2633
+ }]
2634
+ }, {
2635
+ "tokens": [{
2636
+ "content": " ",
2637
+ "props": {
2638
+ "style": {
2639
+ "color": "#D8DEE9FF"
2640
+ }
2641
+ }
2642
+ }, {
2643
+ "content": "asset",
2644
+ "props": {
2645
+ "style": {
2646
+ "color": "#D8DEE9"
2647
+ }
2648
+ }
2649
+ }, {
2650
+ "content": ":",
2651
+ "props": {
2652
+ "style": {
2653
+ "color": "#ECEFF4"
2654
+ }
2655
+ }
2656
+ }, {
2657
+ "content": " ",
2658
+ "props": {
2659
+ "style": {
2660
+ "color": "#D8DEE9FF"
2661
+ }
2662
+ }
2663
+ }, {
2664
+ "content": "{",
2665
+ "props": {
2666
+ "style": {
2667
+ "color": "#ECEFF4"
2668
+ }
2669
+ }
2670
+ }]
2671
+ }, {
2672
+ "tokens": [{
2673
+ "content": " ",
2674
+ "props": {
2675
+ "style": {
2676
+ "color": "#D8DEE9FF"
2677
+ }
2678
+ }
2679
+ }, {
2680
+ "content": "publicPath",
2681
+ "props": {
2682
+ "style": {
2683
+ "color": "#D8DEE9"
2684
+ }
2685
+ }
2686
+ }, {
2687
+ "content": ":",
2688
+ "props": {
2689
+ "style": {
2690
+ "color": "#ECEFF4"
2691
+ }
2692
+ }
2693
+ }, {
2694
+ "content": " ",
2695
+ "props": {
2696
+ "style": {
2697
+ "color": "#D8DEE9FF"
2698
+ }
2699
+ }
2700
+ }, {
2701
+ "content": "'",
2702
+ "props": {
2703
+ "style": {
2704
+ "color": "#ECEFF4"
2705
+ }
2706
+ }
2707
+ }, {
2708
+ "content": "https://cdn/",
2709
+ "props": {
2710
+ "style": {
2711
+ "color": "#A3BE8C"
2712
+ }
2713
+ }
2714
+ }, {
2715
+ "content": "'",
2716
+ "props": {
2717
+ "style": {
2718
+ "color": "#ECEFF4"
2719
+ }
2720
+ }
2721
+ }, {
2722
+ "content": ",",
2723
+ "props": {
2724
+ "style": {
2725
+ "color": "#ECEFF4"
2726
+ }
2727
+ }
2728
+ }]
2729
+ }, {
2730
+ "tokens": [{
2731
+ "content": " ",
2732
+ "props": {
2733
+ "style": {
2734
+ "color": "#D8DEE9FF"
2735
+ }
2736
+ }
2737
+ }, {
2738
+ "content": "},",
2739
+ "props": {
2740
+ "style": {
2741
+ "color": "#ECEFF4"
2742
+ }
2743
+ }
2744
+ }]
2745
+ }, {
2746
+ "tokens": [{
2747
+ "content": " ",
2748
+ "props": {
2749
+ "style": {
2750
+ "color": "#D8DEE9FF"
2751
+ }
2752
+ }
2753
+ }, {
2754
+ "content": "},",
2755
+ "props": {
2756
+ "style": {
2757
+ "color": "#ECEFF4"
2758
+ }
2759
+ }
2760
+ }]
2761
+ }, {
2762
+ "tokens": [{
2763
+ "content": "}",
2764
+ "props": {
2765
+ "style": {
2766
+ "color": "#ECEFF4"
2767
+ }
2768
+ }
2769
+ }, {
2770
+ "content": ")",
2771
+ "props": {
2772
+ "style": {
2773
+ "color": "#D8DEE9FF"
2774
+ }
2775
+ }
2776
+ }, {
2777
+ "content": ";",
2778
+ "props": {
2779
+ "style": {
2780
+ "color": "#81A1C1"
2781
+ }
2782
+ }
2783
+ }]
2784
+ }],
2785
+ "lang": "ts"
2786
+ },
2787
+ "annotations": []
2788
+ }],
2789
+ "southPanel": undefined
2790
+ }, {
2791
+ "northPanel": {
2792
+ "tabs": ["./src/asset.ts", "./dist/asset.js"],
2793
+ "active": "./dist/asset.js",
2794
+ "heightRatio": 1
2795
+ },
2796
+ "files": [{
2797
+ "name": "./src/asset.ts",
2798
+ "focus": "",
2799
+ "code": {
2800
+ "lines": [{
2801
+ "tokens": [{
2802
+ "content": "import",
2803
+ "props": {
2804
+ "style": {
2805
+ "color": "#81A1C1"
2806
+ }
2807
+ }
2808
+ }, {
2809
+ "content": " ",
2810
+ "props": {
2811
+ "style": {
2812
+ "color": "#D8DEE9FF"
2813
+ }
2814
+ }
2815
+ }, {
2816
+ "content": "img",
2817
+ "props": {
2818
+ "style": {
2819
+ "color": "#D8DEE9"
2820
+ }
2821
+ }
2822
+ }, {
2823
+ "content": " ",
2824
+ "props": {
2825
+ "style": {
2826
+ "color": "#D8DEE9FF"
2827
+ }
2828
+ }
2829
+ }, {
2830
+ "content": "from",
2831
+ "props": {
2832
+ "style": {
2833
+ "color": "#81A1C1"
2834
+ }
2835
+ }
2836
+ }, {
2837
+ "content": " ",
2838
+ "props": {
2839
+ "style": {
2840
+ "color": "#D8DEE9FF"
2841
+ }
2842
+ }
2843
+ }, {
2844
+ "content": "'",
2845
+ "props": {
2846
+ "style": {
2847
+ "color": "#ECEFF4"
2848
+ }
2849
+ }
2850
+ }, {
2851
+ "content": "./bg.png",
2852
+ "props": {
2853
+ "style": {
2854
+ "color": "#A3BE8C"
2855
+ }
2856
+ }
2857
+ }, {
2858
+ "content": "'",
2859
+ "props": {
2860
+ "style": {
2861
+ "color": "#ECEFF4"
2862
+ }
2863
+ }
2864
+ }, {
2865
+ "content": ";",
2866
+ "props": {
2867
+ "style": {
2868
+ "color": "#81A1C1"
2869
+ }
2870
+ }
2871
+ }]
2872
+ }, {
2873
+ "tokens": [{
2874
+ "content": "//...",
2875
+ "props": {
2876
+ "style": {
2877
+ "color": "#616E88"
2878
+ }
2879
+ }
2880
+ }]
2881
+ }],
2882
+ "lang": "ts"
2883
+ },
2884
+ "annotations": []
2885
+ }, {
2886
+ "name": "./dist/asset.js",
2887
+ "focus": "7:7",
2888
+ "code": {
2889
+ "lines": [{
2890
+ "tokens": [{
2891
+ "content": "(",
2892
+ "props": {
2893
+ "style": {
2894
+ "color": "#D8DEE9FF"
2895
+ }
2896
+ }
2897
+ }, {
2898
+ "content": "function",
2899
+ "props": {
2900
+ "style": {
2901
+ "color": "#81A1C1"
2902
+ }
2903
+ }
2904
+ }, {
2905
+ "content": " ",
2906
+ "props": {
2907
+ "style": {
2908
+ "color": "#D8DEE9FF"
2909
+ }
2910
+ }
2911
+ }, {
2912
+ "content": "(",
2913
+ "props": {
2914
+ "style": {
2915
+ "color": "#ECEFF4"
2916
+ }
2917
+ }
2918
+ }, {
2919
+ "content": "global",
2920
+ "props": {
2921
+ "style": {
2922
+ "color": "#D8DEE9"
2923
+ }
2924
+ }
2925
+ }, {
2926
+ "content": ",",
2927
+ "props": {
2928
+ "style": {
2929
+ "color": "#ECEFF4"
2930
+ }
2931
+ }
2932
+ }, {
2933
+ "content": " ",
2934
+ "props": {
2935
+ "style": {
2936
+ "color": "#D8DEE9FF"
2937
+ }
2938
+ }
2939
+ }, {
2940
+ "content": "factory",
2941
+ "props": {
2942
+ "style": {
2943
+ "color": "#D8DEE9"
2944
+ }
2945
+ }
2946
+ }, {
2947
+ "content": ")",
2948
+ "props": {
2949
+ "style": {
2950
+ "color": "#ECEFF4"
2951
+ }
2952
+ }
2953
+ }, {
2954
+ "content": " ",
2955
+ "props": {
2956
+ "style": {
2957
+ "color": "#D8DEE9FF"
2958
+ }
2959
+ }
2960
+ }, {
2961
+ "content": "{",
2962
+ "props": {
2963
+ "style": {
2964
+ "color": "#ECEFF4"
2965
+ }
2966
+ }
2967
+ }]
2968
+ }, {
2969
+ "tokens": [{
2970
+ "content": " ",
2971
+ "props": {
2972
+ "style": {
2973
+ "color": "#D8DEE9FF"
2974
+ }
2975
+ }
2976
+ }, {
2977
+ "content": "if",
2978
+ "props": {
2979
+ "style": {
2980
+ "color": "#81A1C1"
2981
+ }
2982
+ }
2983
+ }, {
2984
+ "content": " (",
2985
+ "props": {
2986
+ "style": {
2987
+ "color": "#D8DEE9FF"
2988
+ }
2989
+ }
2990
+ }, {
2991
+ "content": "typeof",
2992
+ "props": {
2993
+ "style": {
2994
+ "color": "#81A1C1"
2995
+ }
2996
+ }
2997
+ }, {
2998
+ "content": " ",
2999
+ "props": {
3000
+ "style": {
3001
+ "color": "#D8DEE9FF"
3002
+ }
3003
+ }
3004
+ }, {
3005
+ "content": "module",
3006
+ "props": {
3007
+ "style": {
3008
+ "color": "#8FBCBB"
3009
+ }
3010
+ }
3011
+ }, {
3012
+ "content": " ",
3013
+ "props": {
3014
+ "style": {
3015
+ "color": "#D8DEE9FF"
3016
+ }
3017
+ }
3018
+ }, {
3019
+ "content": "===",
3020
+ "props": {
3021
+ "style": {
3022
+ "color": "#81A1C1"
3023
+ }
3024
+ }
3025
+ }, {
3026
+ "content": " ",
3027
+ "props": {
3028
+ "style": {
3029
+ "color": "#D8DEE9FF"
3030
+ }
3031
+ }
3032
+ }, {
3033
+ "content": "'",
3034
+ "props": {
3035
+ "style": {
3036
+ "color": "#ECEFF4"
3037
+ }
3038
+ }
3039
+ }, {
3040
+ "content": "object",
3041
+ "props": {
3042
+ "style": {
3043
+ "color": "#A3BE8C"
3044
+ }
3045
+ }
3046
+ }, {
3047
+ "content": "'",
3048
+ "props": {
3049
+ "style": {
3050
+ "color": "#ECEFF4"
3051
+ }
3052
+ }
3053
+ }, {
3054
+ "content": " ",
3055
+ "props": {
3056
+ "style": {
3057
+ "color": "#D8DEE9FF"
3058
+ }
3059
+ }
3060
+ }, {
3061
+ "content": "&&",
3062
+ "props": {
3063
+ "style": {
3064
+ "color": "#81A1C1"
3065
+ }
3066
+ }
3067
+ }, {
3068
+ "content": " ",
3069
+ "props": {
3070
+ "style": {
3071
+ "color": "#D8DEE9FF"
3072
+ }
3073
+ }
3074
+ }, {
3075
+ "content": "typeof",
3076
+ "props": {
3077
+ "style": {
3078
+ "color": "#81A1C1"
3079
+ }
3080
+ }
3081
+ }, {
3082
+ "content": " ",
3083
+ "props": {
3084
+ "style": {
3085
+ "color": "#D8DEE9FF"
3086
+ }
3087
+ }
3088
+ }, {
3089
+ "content": "module",
3090
+ "props": {
3091
+ "style": {
3092
+ "color": "#8FBCBB"
3093
+ }
3094
+ }
3095
+ }, {
3096
+ "content": ".",
3097
+ "props": {
3098
+ "style": {
3099
+ "color": "#ECEFF4"
3100
+ }
3101
+ }
3102
+ }, {
3103
+ "content": "exports",
3104
+ "props": {
3105
+ "style": {
3106
+ "color": "#8FBCBB"
3107
+ }
3108
+ }
3109
+ }, {
3110
+ "content": " ",
3111
+ "props": {
3112
+ "style": {
3113
+ "color": "#D8DEE9FF"
3114
+ }
3115
+ }
3116
+ }, {
3117
+ "content": "===",
3118
+ "props": {
3119
+ "style": {
3120
+ "color": "#81A1C1"
3121
+ }
3122
+ }
3123
+ }, {
3124
+ "content": " ",
3125
+ "props": {
3126
+ "style": {
3127
+ "color": "#D8DEE9FF"
3128
+ }
3129
+ }
3130
+ }, {
3131
+ "content": "'",
3132
+ "props": {
3133
+ "style": {
3134
+ "color": "#ECEFF4"
3135
+ }
3136
+ }
3137
+ }, {
3138
+ "content": "object",
3139
+ "props": {
3140
+ "style": {
3141
+ "color": "#A3BE8C"
3142
+ }
3143
+ }
3144
+ }, {
3145
+ "content": "'",
3146
+ "props": {
3147
+ "style": {
3148
+ "color": "#ECEFF4"
3149
+ }
3150
+ }
3151
+ }, {
3152
+ "content": ")",
3153
+ "props": {
3154
+ "style": {
3155
+ "color": "#D8DEE9FF"
3156
+ }
3157
+ }
3158
+ }]
3159
+ }, {
3160
+ "tokens": [{
3161
+ "content": " ",
3162
+ "props": {
3163
+ "style": {
3164
+ "color": "#D8DEE9FF"
3165
+ }
3166
+ }
3167
+ }, {
3168
+ "content": "factory",
3169
+ "props": {
3170
+ "style": {
3171
+ "color": "#88C0D0"
3172
+ }
3173
+ }
3174
+ }, {
3175
+ "content": "()",
3176
+ "props": {
3177
+ "style": {
3178
+ "color": "#D8DEE9FF"
3179
+ }
3180
+ }
3181
+ }, {
3182
+ "content": ";",
3183
+ "props": {
3184
+ "style": {
3185
+ "color": "#81A1C1"
3186
+ }
3187
+ }
3188
+ }]
3189
+ }, {
3190
+ "tokens": [{
3191
+ "content": " ",
3192
+ "props": {
3193
+ "style": {
3194
+ "color": "#D8DEE9FF"
3195
+ }
3196
+ }
3197
+ }, {
3198
+ "content": "else",
3199
+ "props": {
3200
+ "style": {
3201
+ "color": "#81A1C1"
3202
+ }
3203
+ }
3204
+ }, {
3205
+ "content": " ",
3206
+ "props": {
3207
+ "style": {
3208
+ "color": "#D8DEE9FF"
3209
+ }
3210
+ }
3211
+ }, {
3212
+ "content": "if",
3213
+ "props": {
3214
+ "style": {
3215
+ "color": "#81A1C1"
3216
+ }
3217
+ }
3218
+ }, {
3219
+ "content": " (",
3220
+ "props": {
3221
+ "style": {
3222
+ "color": "#D8DEE9FF"
3223
+ }
3224
+ }
3225
+ }, {
3226
+ "content": "typeof",
3227
+ "props": {
3228
+ "style": {
3229
+ "color": "#81A1C1"
3230
+ }
3231
+ }
3232
+ }, {
3233
+ "content": " ",
3234
+ "props": {
3235
+ "style": {
3236
+ "color": "#D8DEE9FF"
3237
+ }
3238
+ }
3239
+ }, {
3240
+ "content": "define",
3241
+ "props": {
3242
+ "style": {
3243
+ "color": "#D8DEE9"
3244
+ }
3245
+ }
3246
+ }, {
3247
+ "content": " ",
3248
+ "props": {
3249
+ "style": {
3250
+ "color": "#D8DEE9FF"
3251
+ }
3252
+ }
3253
+ }, {
3254
+ "content": "===",
3255
+ "props": {
3256
+ "style": {
3257
+ "color": "#81A1C1"
3258
+ }
3259
+ }
3260
+ }, {
3261
+ "content": " ",
3262
+ "props": {
3263
+ "style": {
3264
+ "color": "#D8DEE9FF"
3265
+ }
3266
+ }
3267
+ }, {
3268
+ "content": "'",
3269
+ "props": {
3270
+ "style": {
3271
+ "color": "#ECEFF4"
3272
+ }
3273
+ }
3274
+ }, {
3275
+ "content": "function",
3276
+ "props": {
3277
+ "style": {
3278
+ "color": "#A3BE8C"
3279
+ }
3280
+ }
3281
+ }, {
3282
+ "content": "'",
3283
+ "props": {
3284
+ "style": {
3285
+ "color": "#ECEFF4"
3286
+ }
3287
+ }
3288
+ }, {
3289
+ "content": " ",
3290
+ "props": {
3291
+ "style": {
3292
+ "color": "#D8DEE9FF"
3293
+ }
3294
+ }
3295
+ }, {
3296
+ "content": "&&",
3297
+ "props": {
3298
+ "style": {
3299
+ "color": "#81A1C1"
3300
+ }
3301
+ }
3302
+ }, {
3303
+ "content": " ",
3304
+ "props": {
3305
+ "style": {
3306
+ "color": "#D8DEE9FF"
3307
+ }
3308
+ }
3309
+ }, {
3310
+ "content": "define",
3311
+ "props": {
3312
+ "style": {
3313
+ "color": "#D8DEE9"
3314
+ }
3315
+ }
3316
+ }, {
3317
+ "content": ".",
3318
+ "props": {
3319
+ "style": {
3320
+ "color": "#ECEFF4"
3321
+ }
3322
+ }
3323
+ }, {
3324
+ "content": "amd",
3325
+ "props": {
3326
+ "style": {
3327
+ "color": "#D8DEE9"
3328
+ }
3329
+ }
3330
+ }, {
3331
+ "content": ") ",
3332
+ "props": {
3333
+ "style": {
3334
+ "color": "#D8DEE9FF"
3335
+ }
3336
+ }
3337
+ }, {
3338
+ "content": "define",
3339
+ "props": {
3340
+ "style": {
3341
+ "color": "#88C0D0"
3342
+ }
3343
+ }
3344
+ }, {
3345
+ "content": "([]",
3346
+ "props": {
3347
+ "style": {
3348
+ "color": "#D8DEE9FF"
3349
+ }
3350
+ }
3351
+ }, {
3352
+ "content": ",",
3353
+ "props": {
3354
+ "style": {
3355
+ "color": "#ECEFF4"
3356
+ }
3357
+ }
3358
+ }, {
3359
+ "content": " ",
3360
+ "props": {
3361
+ "style": {
3362
+ "color": "#D8DEE9FF"
3363
+ }
3364
+ }
3365
+ }, {
3366
+ "content": "factory",
3367
+ "props": {
3368
+ "style": {
3369
+ "color": "#D8DEE9"
3370
+ }
3371
+ }
3372
+ }, {
3373
+ "content": ")",
3374
+ "props": {
3375
+ "style": {
3376
+ "color": "#D8DEE9FF"
3377
+ }
3378
+ }
3379
+ }, {
3380
+ "content": ";",
3381
+ "props": {
3382
+ "style": {
3383
+ "color": "#81A1C1"
3384
+ }
3385
+ }
3386
+ }]
3387
+ }, {
3388
+ "tokens": [{
3389
+ "content": " ",
3390
+ "props": {
3391
+ "style": {
3392
+ "color": "#D8DEE9FF"
3393
+ }
3394
+ }
3395
+ }, {
3396
+ "content": "else",
3397
+ "props": {
3398
+ "style": {
3399
+ "color": "#81A1C1"
3400
+ }
3401
+ }
3402
+ }, {
3403
+ "content": " ",
3404
+ "props": {
3405
+ "style": {
3406
+ "color": "#D8DEE9FF"
3407
+ }
3408
+ }
3409
+ }, {
3410
+ "content": "if",
3411
+ "props": {
3412
+ "style": {
3413
+ "color": "#81A1C1"
3414
+ }
3415
+ }
3416
+ }, {
3417
+ "content": " (",
3418
+ "props": {
3419
+ "style": {
3420
+ "color": "#D8DEE9FF"
3421
+ }
3422
+ }
3423
+ }]
3424
+ }, {
3425
+ "tokens": [{
3426
+ "content": " (",
3427
+ "props": {
3428
+ "style": {
3429
+ "color": "#D8DEE9FF"
3430
+ }
3431
+ }
3432
+ }, {
3433
+ "content": "global",
3434
+ "props": {
3435
+ "style": {
3436
+ "color": "#D8DEE9"
3437
+ }
3438
+ }
3439
+ }, {
3440
+ "content": " ",
3441
+ "props": {
3442
+ "style": {
3443
+ "color": "#D8DEE9FF"
3444
+ }
3445
+ }
3446
+ }, {
3447
+ "content": "=",
3448
+ "props": {
3449
+ "style": {
3450
+ "color": "#81A1C1"
3451
+ }
3452
+ }
3453
+ }, {
3454
+ "content": " ",
3455
+ "props": {
3456
+ "style": {
3457
+ "color": "#D8DEE9FF"
3458
+ }
3459
+ }
3460
+ }, {
3461
+ "content": "typeof",
3462
+ "props": {
3463
+ "style": {
3464
+ "color": "#81A1C1"
3465
+ }
3466
+ }
3467
+ }, {
3468
+ "content": " ",
3469
+ "props": {
3470
+ "style": {
3471
+ "color": "#D8DEE9FF"
3472
+ }
3473
+ }
3474
+ }, {
3475
+ "content": "globalThis",
3476
+ "props": {
3477
+ "style": {
3478
+ "color": "#D8DEE9"
3479
+ }
3480
+ }
3481
+ }, {
3482
+ "content": " ",
3483
+ "props": {
3484
+ "style": {
3485
+ "color": "#D8DEE9FF"
3486
+ }
3487
+ }
3488
+ }, {
3489
+ "content": "!==",
3490
+ "props": {
3491
+ "style": {
3492
+ "color": "#81A1C1"
3493
+ }
3494
+ }
3495
+ }, {
3496
+ "content": " ",
3497
+ "props": {
3498
+ "style": {
3499
+ "color": "#D8DEE9FF"
3500
+ }
3501
+ }
3502
+ }, {
3503
+ "content": "'",
3504
+ "props": {
3505
+ "style": {
3506
+ "color": "#ECEFF4"
3507
+ }
3508
+ }
3509
+ }, {
3510
+ "content": "undefined",
3511
+ "props": {
3512
+ "style": {
3513
+ "color": "#A3BE8C"
3514
+ }
3515
+ }
3516
+ }, {
3517
+ "content": "'",
3518
+ "props": {
3519
+ "style": {
3520
+ "color": "#ECEFF4"
3521
+ }
3522
+ }
3523
+ }, {
3524
+ "content": " ",
3525
+ "props": {
3526
+ "style": {
3527
+ "color": "#D8DEE9FF"
3528
+ }
3529
+ }
3530
+ }, {
3531
+ "content": "?",
3532
+ "props": {
3533
+ "style": {
3534
+ "color": "#81A1C1"
3535
+ }
3536
+ }
3537
+ }, {
3538
+ "content": " ",
3539
+ "props": {
3540
+ "style": {
3541
+ "color": "#D8DEE9FF"
3542
+ }
3543
+ }
3544
+ }, {
3545
+ "content": "globalThis",
3546
+ "props": {
3547
+ "style": {
3548
+ "color": "#D8DEE9"
3549
+ }
3550
+ }
3551
+ }, {
3552
+ "content": " ",
3553
+ "props": {
3554
+ "style": {
3555
+ "color": "#D8DEE9FF"
3556
+ }
3557
+ }
3558
+ }, {
3559
+ "content": ":",
3560
+ "props": {
3561
+ "style": {
3562
+ "color": "#81A1C1"
3563
+ }
3564
+ }
3565
+ }, {
3566
+ "content": " ",
3567
+ "props": {
3568
+ "style": {
3569
+ "color": "#D8DEE9FF"
3570
+ }
3571
+ }
3572
+ }, {
3573
+ "content": "global",
3574
+ "props": {
3575
+ "style": {
3576
+ "color": "#D8DEE9"
3577
+ }
3578
+ }
3579
+ }, {
3580
+ "content": " ",
3581
+ "props": {
3582
+ "style": {
3583
+ "color": "#D8DEE9FF"
3584
+ }
3585
+ }
3586
+ }, {
3587
+ "content": "||",
3588
+ "props": {
3589
+ "style": {
3590
+ "color": "#81A1C1"
3591
+ }
3592
+ }
3593
+ }, {
3594
+ "content": " ",
3595
+ "props": {
3596
+ "style": {
3597
+ "color": "#D8DEE9FF"
3598
+ }
3599
+ }
3600
+ }, {
3601
+ "content": "self",
3602
+ "props": {
3603
+ "style": {
3604
+ "color": "#D8DEE9"
3605
+ }
3606
+ }
3607
+ }, {
3608
+ "content": ")",
3609
+ "props": {
3610
+ "style": {
3611
+ "color": "#D8DEE9FF"
3612
+ }
3613
+ }
3614
+ }]
3615
+ }, {
3616
+ "tokens": [{
3617
+ "content": " )",
3618
+ "props": {
3619
+ "style": {
3620
+ "color": "#D8DEE9FF"
3621
+ }
3622
+ }
3623
+ }]
3624
+ }, {
3625
+ "tokens": [{
3626
+ "content": " ",
3627
+ "props": {
3628
+ "style": {
3629
+ "color": "#D8DEE9FF"
3630
+ }
3631
+ }
3632
+ }, {
3633
+ "content": "factory",
3634
+ "props": {
3635
+ "style": {
3636
+ "color": "#88C0D0"
3637
+ }
3638
+ }
3639
+ }, {
3640
+ "content": "()",
3641
+ "props": {
3642
+ "style": {
3643
+ "color": "#D8DEE9FF"
3644
+ }
3645
+ }
3646
+ }, {
3647
+ "content": ";",
3648
+ "props": {
3649
+ "style": {
3650
+ "color": "#81A1C1"
3651
+ }
3652
+ }
3653
+ }]
3654
+ }, {
3655
+ "tokens": [{
3656
+ "content": "}",
3657
+ "props": {
3658
+ "style": {
3659
+ "color": "#ECEFF4"
3660
+ }
3661
+ }
3662
+ }, {
3663
+ "content": ")(",
3664
+ "props": {
3665
+ "style": {
3666
+ "color": "#D8DEE9FF"
3667
+ }
3668
+ }
3669
+ }, {
3670
+ "content": "this",
3671
+ "props": {
3672
+ "style": {
3673
+ "color": "#81A1C1"
3674
+ }
3675
+ }
3676
+ }, {
3677
+ "content": ",",
3678
+ "props": {
3679
+ "style": {
3680
+ "color": "#ECEFF4"
3681
+ }
3682
+ }
3683
+ }, {
3684
+ "content": " ",
3685
+ "props": {
3686
+ "style": {
3687
+ "color": "#D8DEE9FF"
3688
+ }
3689
+ }
3690
+ }, {
3691
+ "content": "function",
3692
+ "props": {
3693
+ "style": {
3694
+ "color": "#81A1C1"
3695
+ }
3696
+ }
3697
+ }, {
3698
+ "content": " ",
3699
+ "props": {
3700
+ "style": {
3701
+ "color": "#D8DEE9FF"
3702
+ }
3703
+ }
3704
+ }, {
3705
+ "content": "()",
3706
+ "props": {
3707
+ "style": {
3708
+ "color": "#ECEFF4"
3709
+ }
3710
+ }
3711
+ }, {
3712
+ "content": " ",
3713
+ "props": {
3714
+ "style": {
3715
+ "color": "#D8DEE9FF"
3716
+ }
3717
+ }
3718
+ }, {
3719
+ "content": "{",
3720
+ "props": {
3721
+ "style": {
3722
+ "color": "#ECEFF4"
3723
+ }
3724
+ }
3725
+ }]
3726
+ }, {
3727
+ "tokens": [{
3728
+ "content": " ",
3729
+ "props": {
3730
+ "style": {
3731
+ "color": "#D8DEE9FF"
3732
+ }
3733
+ }
3734
+ }, {
3735
+ "content": "'",
3736
+ "props": {
3737
+ "style": {
3738
+ "color": "#ECEFF4"
3739
+ }
3740
+ }
3741
+ }, {
3742
+ "content": "use strict",
3743
+ "props": {
3744
+ "style": {
3745
+ "color": "#A3BE8C"
3746
+ }
3747
+ }
3748
+ }, {
3749
+ "content": "'",
3750
+ "props": {
3751
+ "style": {
3752
+ "color": "#ECEFF4"
3753
+ }
3754
+ }
3755
+ }, {
3756
+ "content": ";",
3757
+ "props": {
3758
+ "style": {
3759
+ "color": "#81A1C1"
3760
+ }
3761
+ }
3762
+ }]
3763
+ }, {
3764
+ "tokens": [{
3765
+ "content": " ",
3766
+ "props": {
3767
+ "style": {
3768
+ "color": "#D8DEE9FF"
3769
+ }
3770
+ }
3771
+ }, {
3772
+ "content": "var",
3773
+ "props": {
3774
+ "style": {
3775
+ "color": "#81A1C1"
3776
+ }
3777
+ }
3778
+ }, {
3779
+ "content": " ",
3780
+ "props": {
3781
+ "style": {
3782
+ "color": "#D8DEE9FF"
3783
+ }
3784
+ }
3785
+ }, {
3786
+ "content": "bg_default",
3787
+ "props": {
3788
+ "style": {
3789
+ "color": "#D8DEE9"
3790
+ }
3791
+ }
3792
+ }, {
3793
+ "content": " ",
3794
+ "props": {
3795
+ "style": {
3796
+ "color": "#D8DEE9FF"
3797
+ }
3798
+ }
3799
+ }, {
3800
+ "content": "=",
3801
+ "props": {
3802
+ "style": {
3803
+ "color": "#81A1C1"
3804
+ }
3805
+ }
3806
+ }, {
3807
+ "content": " ",
3808
+ "props": {
3809
+ "style": {
3810
+ "color": "#D8DEE9FF"
3811
+ }
3812
+ }
3813
+ }, {
3814
+ "content": "'",
3815
+ "props": {
3816
+ "style": {
3817
+ "color": "#ECEFF4"
3818
+ }
3819
+ }
3820
+ }, {
3821
+ "content": "http://cdn/assets/bg.13e2aba2.png",
3822
+ "props": {
3823
+ "style": {
3824
+ "color": "#A3BE8C"
3825
+ }
3826
+ }
3827
+ }, {
3828
+ "content": "'",
3829
+ "props": {
3830
+ "style": {
3831
+ "color": "#ECEFF4"
3832
+ }
3833
+ }
3834
+ }, {
3835
+ "content": ";",
3836
+ "props": {
3837
+ "style": {
3838
+ "color": "#81A1C1"
3839
+ }
3840
+ }
3841
+ }]
3842
+ }, {
3843
+ "tokens": [{
3844
+ "content": " ",
3845
+ "props": {
3846
+ "style": {
3847
+ "color": "#ECEFF4"
3848
+ }
3849
+ }
3850
+ }, {
3851
+ "content": "// src/asset.tsx",
3852
+ "props": {
3853
+ "style": {
3854
+ "color": "#616E88"
3855
+ }
3856
+ }
3857
+ }]
3858
+ }, {
3859
+ "tokens": [{
3860
+ "content": " ",
3861
+ "props": {
3862
+ "style": {
3863
+ "color": "#D8DEE9FF"
3864
+ }
3865
+ }
3866
+ }, {
3867
+ "content": "console",
3868
+ "props": {
3869
+ "style": {
3870
+ "color": "#D8DEE9"
3871
+ }
3872
+ }
3873
+ }, {
3874
+ "content": ".",
3875
+ "props": {
3876
+ "style": {
3877
+ "color": "#ECEFF4"
3878
+ }
3879
+ }
3880
+ }, {
3881
+ "content": "info",
3882
+ "props": {
3883
+ "style": {
3884
+ "color": "#88C0D0"
3885
+ }
3886
+ }
3887
+ }, {
3888
+ "content": "(",
3889
+ "props": {
3890
+ "style": {
3891
+ "color": "#D8DEE9FF"
3892
+ }
3893
+ }
3894
+ }, {
3895
+ "content": "bg_default",
3896
+ "props": {
3897
+ "style": {
3898
+ "color": "#D8DEE9"
3899
+ }
3900
+ }
3901
+ }, {
3902
+ "content": ")",
3903
+ "props": {
3904
+ "style": {
3905
+ "color": "#D8DEE9FF"
3906
+ }
3907
+ }
3908
+ }, {
3909
+ "content": ";",
3910
+ "props": {
3911
+ "style": {
3912
+ "color": "#81A1C1"
3913
+ }
3914
+ }
3915
+ }]
3916
+ }, {
3917
+ "tokens": [{
3918
+ "content": "}",
3919
+ "props": {
3920
+ "style": {
3921
+ "color": "#ECEFF4"
3922
+ }
3923
+ }
3924
+ }, {
3925
+ "content": ")",
3926
+ "props": {
3927
+ "style": {
3928
+ "color": "#D8DEE9FF"
3929
+ }
3930
+ }
3931
+ }, {
3932
+ "content": ";",
3933
+ "props": {
3934
+ "style": {
3935
+ "color": "#81A1C1"
3936
+ }
3937
+ }
3938
+ }]
3939
+ }],
3940
+ "lang": "js"
3941
+ },
3942
+ "annotations": []
3943
+ }],
3944
+ "southPanel": undefined
3945
+ }],
3946
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3947
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
3948
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3949
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3950
+ children: "Project source code."
3951
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3952
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3953
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3954
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3955
+ children: "modern.config"
3956
+ }), " config file。"]
3957
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3958
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3959
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3960
+ children: ["If the size of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3961
+ children: "bg.png"
3962
+ }), " is larger than 10 kb, then the product content will be."]
3963
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3964
+ })]
3965
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
3966
+ id: "svgr",
3967
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3968
+ className: "header-anchor",
3969
+ "aria-hidden": "true",
3970
+ href: "#svgr",
3971
+ children: "#"
3972
+ }), "SVGR"]
3973
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3974
+ children: "WIP"
3975
+ })]
3976
+ });
3977
+ }
3978
+ function MDXContent() {
3979
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3980
+ var _ref = props.components || {},
3981
+ MDXLayout = _ref.wrapper;
3982
+ return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
3983
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
3984
+ })) : _createMdxContent(props);
3985
+ }
3986
+ _c = MDXContent;
3987
+ /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
3988
+ function _missingMdxReference(id, component, place) {
3989
+ 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/asset.mdx`" : ""));
3990
+ }
3991
+ var _c;
3992
+ __webpack_require__.$Refresh$.register(_c, "MDXContent");
3993
+
3994
+ /***/ })
3995
+
3996
+ }]);
3997
+ //# sourceMappingURL=en_guide_advance_asset.js.map