@lynx-js/rspeedy 0.8.7 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/bin/rspeedy.js +2 -2
  3. package/dist/cli/main.js +414 -0
  4. package/dist/cli/start.js +171 -0
  5. package/dist/index.d.ts +2971 -0
  6. package/dist/index.js +39556 -0
  7. package/dist/register/hooks.js +552 -0
  8. package/dist/register/index.js +22 -0
  9. package/dist/src_cli_build_ts.js +47 -0
  10. package/dist/src_cli_commands_ts.js +60 -0
  11. package/dist/src_cli_dev_ts.js +87 -0
  12. package/dist/src_cli_exit_ts.js +111 -0
  13. package/dist/src_cli_inspect_ts.js +42 -0
  14. package/dist/src_cli_preview_ts.js +49 -0
  15. package/dist/src_config_loadConfig_ts-src_create-rspeedy_ts.js +39311 -0
  16. package/dist/src_plugins_api_plugin_ts.js +32 -0
  17. package/dist/src_plugins_chunkLoading_plugin_ts.js +35 -0
  18. package/dist/src_plugins_dev_plugin_ts.js +141 -0
  19. package/dist/src_plugins_index_ts.js +60 -0
  20. package/dist/src_plugins_inspect_plugin_ts.js +48 -0
  21. package/dist/src_plugins_minify_plugin_ts.js +85 -0
  22. package/dist/src_plugins_optimization_plugin_ts.js +25 -0
  23. package/dist/src_plugins_output_plugin_ts.js +46 -0
  24. package/dist/src_plugins_resolve_plugin_ts.js +21 -0
  25. package/dist/src_plugins_rsdoctor_plugin_ts.js +59 -0
  26. package/dist/src_plugins_sourcemap_plugin_ts.js +99 -0
  27. package/dist/src_plugins_stats_plugin_ts.js +26 -0
  28. package/dist/src_plugins_swc_plugin_ts.js +36 -0
  29. package/dist/src_plugins_target_plugin_ts.js +45 -0
  30. package/dist/src_version_ts.js +18 -0
  31. package/dist/vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js.js +1435 -0
  32. package/dist/vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js.js.LICENSE.txt +1 -0
  33. package/dist/vendors-node_modules_pnpm_commander_13_1_0_node_modules_commander_esm_mjs.js +1761 -0
  34. package/dist/vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js +1067 -0
  35. package/dist/vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be.js +416 -0
  36. package/package.json +36 -23
  37. package/LICENSE +0 -202
  38. package/lib/api.d.ts +0 -46
  39. package/lib/api.js +0 -2
  40. package/lib/cli/build.d.ts +0 -4
  41. package/lib/cli/build.js +0 -32
  42. package/lib/cli/commands.d.ts +0 -5
  43. package/lib/cli/commands.js +0 -45
  44. package/lib/cli/dev.d.ts +0 -4
  45. package/lib/cli/dev.js +0 -75
  46. package/lib/cli/exit.d.ts +0 -1
  47. package/lib/cli/exit.js +0 -51
  48. package/lib/cli/inspect.d.ts +0 -8
  49. package/lib/cli/inspect.js +0 -30
  50. package/lib/cli/main.d.ts +0 -1
  51. package/lib/cli/main.js +0 -39
  52. package/lib/cli/preview.d.ts +0 -4
  53. package/lib/cli/preview.js +0 -31
  54. package/lib/cli/start.d.ts +0 -6
  55. package/lib/cli/start.js +0 -88
  56. package/lib/config/defaults.d.ts +0 -2
  57. package/lib/config/defaults.js +0 -32
  58. package/lib/config/defineConfig.d.ts +0 -22
  59. package/lib/config/defineConfig.js +0 -24
  60. package/lib/config/dev/client.d.ts +0 -15
  61. package/lib/config/dev/client.js +0 -2
  62. package/lib/config/dev/index.d.ts +0 -173
  63. package/lib/config/dev/index.js +0 -2
  64. package/lib/config/index.d.ts +0 -172
  65. package/lib/config/index.js +0 -2
  66. package/lib/config/loadConfig.d.ts +0 -50
  67. package/lib/config/loadConfig.js +0 -98
  68. package/lib/config/mergeRspeedyConfig.d.ts +0 -36
  69. package/lib/config/mergeRspeedyConfig.js +0 -42
  70. package/lib/config/output/css-modules.d.ts +0 -84
  71. package/lib/config/output/css-modules.js +0 -2
  72. package/lib/config/output/dist-path.d.ts +0 -19
  73. package/lib/config/output/dist-path.js +0 -2
  74. package/lib/config/output/filename.d.ts +0 -167
  75. package/lib/config/output/filename.js +0 -2
  76. package/lib/config/output/index.d.ts +0 -324
  77. package/lib/config/output/index.js +0 -2
  78. package/lib/config/output/minify.d.ts +0 -80
  79. package/lib/config/output/minify.js +0 -2
  80. package/lib/config/output/source-map.d.ts +0 -68
  81. package/lib/config/output/source-map.js +0 -2
  82. package/lib/config/performance/chunk-split.d.ts +0 -192
  83. package/lib/config/performance/chunk-split.js +0 -2
  84. package/lib/config/performance/index.d.ts +0 -165
  85. package/lib/config/performance/index.js +0 -2
  86. package/lib/config/rsbuild/entry.d.ts +0 -3
  87. package/lib/config/rsbuild/entry.js +0 -31
  88. package/lib/config/rsbuild/index.d.ts +0 -4
  89. package/lib/config/rsbuild/index.js +0 -75
  90. package/lib/config/server/index.d.ts +0 -91
  91. package/lib/config/server/index.js +0 -2
  92. package/lib/config/source/decorators.d.ts +0 -43
  93. package/lib/config/source/decorators.js +0 -2
  94. package/lib/config/source/entry.d.ts +0 -84
  95. package/lib/config/source/entry.js +0 -2
  96. package/lib/config/source/index.d.ts +0 -474
  97. package/lib/config/source/index.js +0 -2
  98. package/lib/config/source/transformImport.d.ts +0 -106
  99. package/lib/config/source/transformImport.js +0 -2
  100. package/lib/config/tools/css-extract.d.ts +0 -72
  101. package/lib/config/tools/css-extract.js +0 -2
  102. package/lib/config/tools/css-loader.d.ts +0 -130
  103. package/lib/config/tools/css-loader.js +0 -2
  104. package/lib/config/tools/index.d.ts +0 -170
  105. package/lib/config/tools/index.js +0 -2
  106. package/lib/config/validate.d.ts +0 -4
  107. package/lib/config/validate.js +0 -28877
  108. package/lib/create-rspeedy.d.ts +0 -52
  109. package/lib/create-rspeedy.js +0 -49
  110. package/lib/debug.d.ts +0 -3
  111. package/lib/debug.js +0 -25
  112. package/lib/index.d.ts +0 -46
  113. package/lib/index.js +0 -11
  114. package/lib/plugins/api.plugin.d.ts +0 -3
  115. package/lib/plugins/api.plugin.js +0 -25
  116. package/lib/plugins/chunkLoading.plugin.d.ts +0 -2
  117. package/lib/plugins/chunkLoading.plugin.js +0 -43
  118. package/lib/plugins/dev.plugin.d.ts +0 -5
  119. package/lib/plugins/dev.plugin.js +0 -137
  120. package/lib/plugins/index.d.ts +0 -3
  121. package/lib/plugins/index.js +0 -49
  122. package/lib/plugins/inspect.plugin.d.ts +0 -4
  123. package/lib/plugins/inspect.plugin.js +0 -39
  124. package/lib/plugins/minify.plugin.d.ts +0 -3
  125. package/lib/plugins/minify.plugin.js +0 -89
  126. package/lib/plugins/optimization.plugin.d.ts +0 -2
  127. package/lib/plugins/optimization.plugin.js +0 -31
  128. package/lib/plugins/output.plugin.d.ts +0 -3
  129. package/lib/plugins/output.plugin.js +0 -34
  130. package/lib/plugins/resolve.plugin.d.ts +0 -2
  131. package/lib/plugins/resolve.plugin.js +0 -38
  132. package/lib/plugins/rsdoctor.plugin.d.ts +0 -3
  133. package/lib/plugins/rsdoctor.plugin.js +0 -48
  134. package/lib/plugins/sourcemap.plugin.d.ts +0 -2
  135. package/lib/plugins/sourcemap.plugin.js +0 -86
  136. package/lib/plugins/stats.plugin.d.ts +0 -2
  137. package/lib/plugins/stats.plugin.js +0 -20
  138. package/lib/plugins/swc.plugin.d.ts +0 -2
  139. package/lib/plugins/swc.plugin.js +0 -21
  140. package/lib/plugins/target.plugin.d.ts +0 -2
  141. package/lib/plugins/target.plugin.js +0 -22
  142. package/lib/utils/getESVersionTarget.d.ts +0 -1
  143. package/lib/utils/getESVersionTarget.js +0 -7
  144. package/lib/utils/is-ci.d.ts +0 -1
  145. package/lib/utils/is-ci.js +0 -7
  146. package/lib/utils/is-lynx.d.ts +0 -2
  147. package/lib/utils/is-lynx.js +0 -6
  148. package/lib/utils/is-web.d.ts +0 -2
  149. package/lib/utils/is-web.js +0 -6
  150. package/lib/version.d.ts +0 -4
  151. package/lib/version.js +0 -15
  152. package/lib/webpack/CompilationIdPlugin.d.ts +0 -4
  153. package/lib/webpack/CompilationIdPlugin.js +0 -20
  154. package/lib/webpack/EvalSourceMapDevToolPlugin.d.ts +0 -9
  155. package/lib/webpack/EvalSourceMapDevToolPlugin.js +0 -15
  156. package/lib/webpack/ProvidePlugin.d.ts +0 -9
  157. package/lib/webpack/ProvidePlugin.js +0 -15
  158. package/lib/webpack/SourceMapDevToolPlugin.d.ts +0 -9
  159. package/lib/webpack/SourceMapDevToolPlugin.js +0 -15
  160. package/register/data.d.ts +0 -9
  161. package/register/hooks.js +0 -146
  162. package/register/index.js +0 -47
  163. /package/{register → dist/register}/index.d.ts +0 -0
@@ -1,98 +0,0 @@
1
- // Copyright 2024 The Lynx Authors. All rights reserved.
2
- // Licensed under the Apache License Version 2.0 that can be found in the
3
- // LICENSE file in the root directory of this source tree.
4
- import fs from 'node:fs';
5
- import { extname, isAbsolute, join } from 'node:path';
6
- import { pathToFileURL } from 'node:url';
7
- import color from 'picocolors';
8
- import { validate } from './validate.js';
9
- import { register } from '../../register/index.js';
10
- import { debug } from '../debug.js';
11
- export const resolveConfigPath = (root, customConfig) => {
12
- if (customConfig) {
13
- debug(`load custom config file ${customConfig} from ${root}`);
14
- const customConfigPath = isAbsolute(customConfig)
15
- ? customConfig
16
- : join(root, customConfig);
17
- if (fs.existsSync(customConfigPath)) {
18
- return customConfigPath;
19
- }
20
- throw new Error(`Cannot find config file: ${color.dim(customConfigPath)}`);
21
- }
22
- const CONFIG_FILES = [
23
- 'lynx.config.ts',
24
- 'lynx.config.js',
25
- 'lynx.config.mts',
26
- 'lynx.config.mjs',
27
- ];
28
- for (const file of CONFIG_FILES) {
29
- debug(`load default config file ${file} from ${root}`);
30
- const configFile = join(root, file);
31
- if (fs.existsSync(configFile)) {
32
- debug(`default config ${configFile} found`);
33
- return configFile;
34
- }
35
- }
36
- throw new Error([
37
- `Cannot find the default config file: ${color.dim(join(root, CONFIG_FILES[0]))}.`,
38
- `Use custom config with ${color.green('`--config <config>`')} options.`,
39
- ].join(' '));
40
- };
41
- /**
42
- * Load the build config by the config path.
43
- *
44
- * @param loadConfigOptions - the options of `loadConfig` method.
45
- * @returns Build config.
46
- *
47
- * @example
48
- *
49
- * ```ts
50
- * import { loadConfig } from '@lynx-js/rspeedy'
51
- *
52
- * void async function () {
53
- * const config = await loadConfig({ configPath: './lynx.config.js' })
54
- * console.log(config);
55
- * }()
56
- * ```
57
- *
58
- * @public
59
- */
60
- export async function loadConfig(loadConfigOptions) {
61
- let { configPath } = loadConfigOptions;
62
- if (!configPath || !isAbsolute(configPath)) {
63
- configPath = resolveConfigPath(loadConfigOptions.cwd ?? process.cwd(), configPath);
64
- }
65
- // Note that we are using `pathToFileURL` since absolute paths must be valid file:// URLs on Windows.
66
- const specifier = pathToFileURL(configPath).toString();
67
- const unregister = shouldUseNativeImport(configPath)
68
- ? /** noop */ () => void 0
69
- : register();
70
- try {
71
- const exports = await import(
72
- /* webpackIgnore: true */ `${specifier}?t=${Date.now()}`);
73
- const content = validate('default' in exports ? exports.default : exports, configPath);
74
- return {
75
- configPath,
76
- content,
77
- };
78
- }
79
- finally {
80
- unregister();
81
- }
82
- }
83
- function shouldUseNativeImport(configPath) {
84
- return isJavaScriptPath(configPath) || hasNativeTSSupport();
85
- }
86
- function hasNativeTSSupport() {
87
- const { NODE_OPTIONS } = process.env;
88
- if (!NODE_OPTIONS) {
89
- return false;
90
- }
91
- return NODE_OPTIONS.includes('--experimental-transform-types')
92
- || NODE_OPTIONS.includes('--experimental-strip-types');
93
- }
94
- function isJavaScriptPath(configPath) {
95
- const ext = extname(configPath);
96
- return ['.js', '.mjs', '.cjs'].includes(ext);
97
- }
98
- //# sourceMappingURL=loadConfig.js.map
@@ -1,36 +0,0 @@
1
- import type { Config } from './index.js';
2
- /**
3
- * Merge multiple Rspeedy configuration objects.
4
- *
5
- * @param configs - The Rspeedy configuration objects to merge.
6
- *
7
- * @returns The merged Rspeedy configuration object.
8
- *
9
- * @example
10
- *
11
- * ```ts
12
- * import { mergeRspeedyConfig } from '@lynx-js/rspeedy';
13
- *
14
- * const config1 = {
15
- * dev: {
16
- * writeToDisk: false,
17
- * },
18
- * };
19
- * const config2 = {
20
- * dev: {
21
- * writeToDisk: true,
22
- * },
23
- * };
24
- *
25
- * const mergedConfig = mergeRspeedyConfig(config1, config2);
26
- *
27
- * console.log(mergedConfig); // { dev: { writeToDisk: true } }
28
- * ```
29
- *
30
- * @remarks
31
- *
32
- * This is actually an alias of {@link https://rsbuild.dev/api/javascript-api/core#mergersbuildconfig | mergeRsbuildConfig}.
33
- *
34
- * @public
35
- */
36
- export declare function mergeRspeedyConfig(...configs: Config[]): Config;
@@ -1,42 +0,0 @@
1
- // Copyright 2024 The Lynx Authors. All rights reserved.
2
- // Licensed under the Apache License Version 2.0 that can be found in the
3
- // LICENSE file in the root directory of this source tree.
4
- import { mergeRsbuildConfig } from '@rsbuild/core';
5
- /**
6
- * Merge multiple Rspeedy configuration objects.
7
- *
8
- * @param configs - The Rspeedy configuration objects to merge.
9
- *
10
- * @returns The merged Rspeedy configuration object.
11
- *
12
- * @example
13
- *
14
- * ```ts
15
- * import { mergeRspeedyConfig } from '@lynx-js/rspeedy';
16
- *
17
- * const config1 = {
18
- * dev: {
19
- * writeToDisk: false,
20
- * },
21
- * };
22
- * const config2 = {
23
- * dev: {
24
- * writeToDisk: true,
25
- * },
26
- * };
27
- *
28
- * const mergedConfig = mergeRspeedyConfig(config1, config2);
29
- *
30
- * console.log(mergedConfig); // { dev: { writeToDisk: true } }
31
- * ```
32
- *
33
- * @remarks
34
- *
35
- * This is actually an alias of {@link https://rsbuild.dev/api/javascript-api/core#mergersbuildconfig | mergeRsbuildConfig}.
36
- *
37
- * @public
38
- */
39
- export function mergeRspeedyConfig(...configs) {
40
- return mergeRsbuildConfig(...configs);
41
- }
42
- //# sourceMappingURL=mergeRspeedyConfig.js.map
@@ -1,84 +0,0 @@
1
- /**
2
- * {@inheritdoc Output.cssModules}
3
- *
4
- * @public
5
- */
6
- export interface CssModules {
7
- /**
8
- * The `auto` option allows CSS modules to be automatically enabled based on their filenames.
9
- *
10
- * @remarks
11
- *
12
- * Given the various `auto` values, the behavior is described as follows:
13
- *
14
- * - `true`: enable CSS modules for all files matching `/\.module\.\w+$/i.test(filename)` RegExp.
15
- *
16
- * - `false`: disable CSS modules.
17
- *
18
- * - `RegExp`: enable CSS modules for all files matching the `auto.test(filename)` RegExp.
19
- *
20
- * - `function`: enable CSS modules based on the filter function.
21
- *
22
- * See {@link https://github.com/webpack-contrib/css-loader?tab=readme-ov-file#auto | css-loader#auto} for details.
23
- *
24
- * @example
25
- *
26
- * Enable CSS module for `*.module.css` and `shared/*.css`:
27
- *
28
- * ```js
29
- * import { defineConfig } from '@lynx-js/rspeedy'
30
- * export default defineConfig({
31
- * output: {
32
- * cssModules: {
33
- * auto: (filename) => {
34
- * return filename.includes('.module.') || filename.includes('shared/')
35
- * },
36
- * },
37
- * },
38
- * })
39
- * ```
40
- */
41
- auto?: boolean | RegExp | ((filename: string) => boolean) | undefined;
42
- /**
43
- * Allows exporting names from global class names, so you can use them via import.
44
- *
45
- * @remarks
46
- *
47
- * See {@link https://github.com/webpack-contrib/css-loader?tab=readme-ov-file#exportglobals | css-loader#exportGlobals} for details.
48
- */
49
- exportGlobals?: boolean | undefined;
50
- /**
51
- * The style of exported class names.
52
- *
53
- * @remarks
54
- *
55
- * Given the various `exportLocalsConvention` values, the behavior is described as follows:
56
- *
57
- * - `'asIs'`: Class names will be exported as is.
58
- *
59
- * - `'camelCase'`: Class names will be camelized, the original class name will not to be removed from the locals
60
- *
61
- * - `'camelCaseOnly'`: Class names will be camelized, the original class name will be removed from the locals
62
- *
63
- * - `'dashes'`: Only dashes in class names will be camelized
64
- *
65
- * - `'dashesOnly'`: Dashes in class names will be camelized, the original class name will be removed from the locals
66
- *
67
- * See {@link https://github.com/webpack-contrib/css-loader?tab=readme-ov-file#exportlocalsconvention | css-loader#exportLocalsConvention} for details.
68
- */
69
- exportLocalsConvention?: CssModuleLocalsConvention | undefined;
70
- /**
71
- * Sets the format of the className generated by CSS Modules after compilation.
72
- *
73
- * @remarks
74
- *
75
- * See {@link https://github.com/webpack-contrib/css-loader?tab=readme-ov-file#localIdentName | css-loader#localIdentName} for details.
76
- */
77
- localIdentName?: string | undefined;
78
- }
79
- /**
80
- * {@inheritdoc CssModules.exportLocalsConvention}
81
- *
82
- * @public
83
- */
84
- export type CssModuleLocalsConvention = 'asIs' | 'camelCase' | 'camelCaseOnly' | 'dashes' | 'dashesOnly';
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=css-modules.js.map
@@ -1,19 +0,0 @@
1
- import type { DistPathConfig } from '@rsbuild/core';
2
- /**
3
- * {@inheritdoc Output.distPath}
4
- *
5
- * @public
6
- */
7
- export interface DistPath extends DistPathConfig {
8
- /**
9
- * The output directory of the intermediate files.
10
- *
11
- * @remarks
12
- *
13
- * Default value:
14
- *
15
- * - `'.rspeedy'`
16
- */
17
- intermediate?: string | undefined;
18
- }
19
- export declare const DEFAULT_DIST_PATH_INTERMEDIATE = ".rspeedy";
@@ -1,2 +0,0 @@
1
- export const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
2
- //# sourceMappingURL=dist-path.js.map
@@ -1,167 +0,0 @@
1
- /**
2
- * {@inheritdoc Output.filename}
3
- *
4
- * @public
5
- */
6
- export interface Filename {
7
- /**
8
- * The name of the bundle files.
9
- *
10
- * @remarks
11
- *
12
- * Default values:
13
- *
14
- * - `'[name].[platform].bundle'`
15
- *
16
- * The following placeholder is supported:
17
- *
18
- * - `[name]`: the name of the entry.
19
- * - `[contenthash]`: the contenthash of the bundle.
20
- * - `[platform]`: the environment name of the bundle.
21
- *
22
- * @example
23
- *
24
- * - Using content hash in bundle filename:
25
- *
26
- * ```js
27
- * import { defineConfig } from '@lynx-js/rspeedy'
28
- *
29
- * export default defineConfig({
30
- * output: {
31
- * filename: {
32
- * bundle: '[name].[contenthash].bundle',
33
- * },
34
- * },
35
- * })
36
- * ```
37
- *
38
- * @example
39
- *
40
- * - Using content hash with length in bundle filename:
41
- *
42
- * ```js
43
- * import { defineConfig } from '@lynx-js/rspeedy'
44
- *
45
- * export default defineConfig({
46
- * output: {
47
- * filename: {
48
- * bundle: '[name].[contenthash:8].bundle',
49
- * },
50
- * },
51
- * })
52
- * ```
53
- */
54
- bundle?: string | undefined;
55
- /**
56
- * The name of the template files.
57
- *
58
- * @deprecated
59
- *
60
- * Use {@link Filename.bundle} instead.
61
- *
62
- * @remarks
63
- *
64
- * Default values:
65
- *
66
- * - `'[name].lynx.bundle'`
67
- *
68
- * The following placeholder is supported:
69
- *
70
- * - `[name]`: the name of the entry.
71
- * - `[contenthash]`: the contenthash of the template.
72
- *
73
- * @example
74
- *
75
- * - Using content hash in bundle filename:
76
- *
77
- * ```js
78
- * import { defineConfig } from '@lynx-js/rspeedy'
79
- *
80
- * export default defineConfig({
81
- * output: {
82
- * filename: {
83
- * template: '[name].[contenthash].bundle',
84
- * },
85
- * },
86
- * })
87
- * ```
88
- *
89
- * @example
90
- *
91
- * - Using content hash with length in bundle filename:
92
- *
93
- * ```js
94
- * import { defineConfig } from '@lynx-js/rspeedy'
95
- *
96
- * export default defineConfig({
97
- * output: {
98
- * filename: {
99
- * template: '[name].[contenthash:8].bundle',
100
- * },
101
- * },
102
- * })
103
- * ```
104
- */
105
- template?: string | undefined;
106
- /**
107
- * The name of the JavaScript files.
108
- *
109
- * @remarks
110
- *
111
- * Default values:
112
- *
113
- * - Development: `'[name].js'`
114
- * - Production: `'[name].[contenthash:8].js'`
115
- */
116
- js?: string | undefined;
117
- /**
118
- * The name of the CSS files.
119
- *
120
- * @remarks
121
- *
122
- * Default values:
123
- *
124
- * - `'[name].css'`
125
- */
126
- css?: string | undefined;
127
- /**
128
- * The name of the SVG images.
129
- *
130
- * @remarks
131
- *
132
- * Default values:
133
- *
134
- * - `'[name].[contenthash:8].svg'`
135
- */
136
- svg?: string | undefined;
137
- /**
138
- * The name of the font files.
139
- *
140
- * @remarks
141
- *
142
- * Default values:
143
- *
144
- * - `'[name].[contenthash:8][ext]'`
145
- */
146
- font?: string | undefined;
147
- /**
148
- * The name of non-SVG images.
149
- *
150
- * @remarks
151
- *
152
- * Default values:
153
- *
154
- * - `'[name].[contenthash:8][ext]'`
155
- */
156
- image?: string | undefined;
157
- /**
158
- * The name of media assets, such as video.
159
- *
160
- * @remarks
161
- *
162
- * Default values:
163
- *
164
- * - `'[name].[contenthash:8][ext]'`
165
- */
166
- media?: string | undefined;
167
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=filename.js.map