diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:38:48 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 21:53:09 +0800 |
| commit | 26105034da4fcce7ac883c899d781f016559310d (patch) | |
| tree | c459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts | |
| parent | 2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff) | |
| download | xmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip | |
switch to vuepress
Diffstat (limited to 'node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts')
| -rw-r--r-- | node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts b/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts new file mode 100644 index 00000000..73dfa522 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts @@ -0,0 +1,126 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export type DllReferencePluginOptions = + | { + /** + * (absolute path) context of requests in the manifest (or content property) + */ + context?: string; + /** + * Extensions used to resolve modules in the dll bundle (only used when using 'scope') + */ + extensions?: string[]; + /** + * An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation + */ + manifest: DllReferencePluginOptionsManifest | string; + /** + * The name where the dll is exposed (external name, defaults to manifest.name) + */ + name?: string; + /** + * Prefix which is used for accessing the content of the dll + */ + scope?: string; + /** + * How the dll is exposed (libraryTarget, defaults to manifest.type) + */ + sourceType?: DllReferencePluginOptionsSourceType; + /** + * The way how the export of the dll bundle is used + */ + type?: "require" | "object"; + } + | { + /** + * The mappings from request to module info + */ + content: DllReferencePluginOptionsContent; + /** + * (absolute path) context of requests in the manifest (or content property) + */ + context?: string; + /** + * Extensions used to resolve modules in the dll bundle (only used when using 'scope') + */ + extensions?: string[]; + /** + * The name where the dll is exposed (external name) + */ + name: string; + /** + * Prefix which is used for accessing the content of the dll + */ + scope?: string; + /** + * How the dll is exposed (libraryTarget) + */ + sourceType?: DllReferencePluginOptionsSourceType; + /** + * The way how the export of the dll bundle is used + */ + type?: "require" | "object"; + }; +/** + * The type how the dll is exposed (external type) + */ +export type DllReferencePluginOptionsSourceType = + | "var" + | "assign" + | "this" + | "window" + | "global" + | "commonjs" + | "commonjs2" + | "commonjs-module" + | "amd" + | "amd-require" + | "umd" + | "umd2" + | "jsonp"; + +/** + * An object containing content, name and type + */ +export interface DllReferencePluginOptionsManifest { + /** + * The mappings from request to module info + */ + content: DllReferencePluginOptionsContent; + /** + * The name where the dll is exposed (external name) + */ + name?: string; + /** + * The type how the dll is exposed (external type) + */ + type?: DllReferencePluginOptionsSourceType; +} +/** + * The mappings from request to module info + */ +export interface DllReferencePluginOptionsContent { + /** + * Module info + */ + [k: string]: { + /** + * Meta information about the module + */ + buildMeta?: { + [k: string]: any; + }; + /** + * Information about the provided exports of the module + */ + exports?: true | string[]; + /** + * Module ID + */ + id: number | string; + }; +} |
