MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / IWebpackEnv

Interface IWebpackEnv

packages/webpack5/src/index.ts:22–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20import helpers from './helpers';
21
22export interface IWebpackEnv {
23 [name: string]: any;
24
25 env?: string;
26
27 appPath?: string;
28 appResourcesPath?: string;
29 buildPath?: string;
30 appComponents?: string[];
31
32 nativescriptLibPath?: string | boolean;
33
34 android?: boolean;
35 ios?: boolean;
36 // for custom platforms
37 platform?: string;
38
39 sourceMap?: string | boolean;
40 production?: boolean;
41 report?: boolean;
42 hmr?: boolean;
43
44 // enable verbose output
45 verbose?: boolean;
46
47 // enable webpack profiling
48 profile?: boolean;
49
50 // print webpack stats (default: true)
51 stats?: boolean;
52
53 // enable commonjs modules (default: ES modules, esm)
54 commonjs?: boolean;
55
56 // misc
57 replace?: string[] | string;
58 watchNodeModules?: boolean;
59}
60
61interface IChainEntry {
62 chainFn: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected