-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.config.dump
More file actions
84 lines (84 loc) · 2.55 KB
/
Copy pathwebpack.config.dump
File metadata and controls
84 lines (84 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
module.exports = () => ({ plugins:
[ { outputPath: './', name: 'webpack.config.dump', depth: 4 } ],
context:
'C:\\Users\\xavier\\Documents\\Projects\\www\\frontend\\webpack\\webpack-essential',
entry: './src',
target: 'web',
module:
{ unknownContextRequest: '.',
unknownContextRecursive: true,
unknownContextCritical: true,
exprContextRequest: '.',
exprContextRecursive: true,
exprContextCritical: true,
wrappedContextRegExp: /.*/,
wrappedContextRecursive: true,
defaultRules: [ {}, {}, {}, {} ] },
output:
{ filename: '[name].js',
chunkFilename: '[name].js',
webassemblyModuleFilename: '[modulehash].module.wasm',
hotUpdateFunction: 'webpackHotUpdate',
jsonpFunction: 'webpackJsonp',
chunkCallbackName: 'webpackChunk',
globalObject: 'window',
libraryTarget: 'var',
path:
'C:\\Users\\xavier\\Documents\\Projects\\www\\frontend\\webpack\\webpack-essential\\dist',
sourceMapFilename: '[file].map[query]',
hotUpdateChunkFilename: '[id].[hash].hot-update.js',
hotUpdateMainFilename: '[hash].hot-update.json',
chunkLoadTimeout: 120000,
hashFunction: 'md4',
hashDigest: 'hex',
hashDigestLength: 20 },
node:
{ process: true,
global: true,
Buffer: true,
setImmediate: true,
__filename: 'mock',
__dirname: 'mock' },
performance:
{ maxAssetSize: 250000,
maxEntrypointSize: 250000,
hints: 'warning' },
optimization:
{ removeAvailableModules: true,
removeEmptyChunks: true,
mergeDuplicateChunks: true,
flagIncludedChunks: true,
occurrenceOrder: true,
sideEffects: true,
providedExports: true,
usedExports: true,
concatenateModules: true,
splitChunks:
{ hidePathInfo: true,
chunks: 'async',
minSize: 30000,
minChunks: 1,
maxAsyncRequests: 5,
automaticNameDelimiter: '~',
automaticNameMaxLength: 109,
maxInitialRequests: 3,
name: true,
cacheGroups: {} },
noEmitOnErrors: true,
checkWasmTypes: true,
minimize: true,
minimizer: [ {} ],
nodeEnv: 'production' },
resolve:
{ unsafeCache: true,
modules: [ 'node_modules' ],
extensions: [ '.wasm', '.mjs', '.js', '.json' ],
mainFiles: [ 'index' ],
aliasFields: [ 'browser' ],
mainFields: [ 'browser', 'module', 'main' ] },
resolveLoader:
{ unsafeCache: true,
mainFields: [ 'loader', 'main' ],
extensions: [ '.js', '.json' ],
mainFiles: [ 'index' ] },
infrastructureLogging: { level: 'info' } })