update examples

This commit is contained in:
Tobias Koppers 2020-09-29 20:33:08 +02:00
parent d49b49ddeb
commit e4ae1c2fa1
56 changed files with 133 additions and 225 deletions

View File

@ -113,7 +113,7 @@ chunk 456.chunk.js 5.45 KiB [rendered]
cjs self exports reference ./common.js 1:0-14
amd require ./common ./pageA.js 1:0-3:2
amd require ./common ./pageB.js 1:0-3:2
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -172,5 +172,5 @@ chunk (runtime: pageA, pageB) 456.chunk.js 5.45 KiB [rendered]
cjs self exports reference ./common.js 1:0-14
amd require ./common ./pageA.js 1:0-3:2
amd require ./common ./pageB.js 1:0-3:2
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -198,5 +198,5 @@ chunk output.js (main) 1.54 KiB (javascript) 274 bytes (runtime) [entry] [render
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -219,5 +219,5 @@ chunk output.js (main) 9.58 KiB (javascript) 14.6 KiB (asset) 306 bytes (runtime
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -410,7 +410,7 @@ chunk 3.[chunkhash].js 28 bytes [rendered]
./async2.js 28 bytes [built] [code generated]
[used exports unknown]
import() ./async2 ./example.js 3:0-18
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -439,5 +439,5 @@ chunk (runtime: runtime~main) main.[chunkhash].js (main) 55 bytes [initial] [ren
chunk (runtime: runtime~main) runtime~main.[chunkhash].js (runtime~main) 7.27 KiB [entry] [rendered]
> ./example main
runtime modules 7.27 KiB 9 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -191,7 +191,7 @@ chunk (runtime: main) output.js (main) 634 bytes [entry] [rendered]
./example.js 70 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset without.js 2.91 KiB [emitted] (name: main)
chunk without.js (main) 634 bytes [entry] [rendered]
@ -200,7 +200,7 @@ chunk without.js (main) 634 bytes [entry] [rendered]
./example.js 70 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -213,7 +213,7 @@ chunk (runtime: main) output.js (main) 634 bytes [entry] [rendered]
./example.js 70 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset without.js 537 bytes [emitted] [minimized] (name: main) 1 related asset
chunk without.js (main) 634 bytes [entry] [rendered]
@ -222,5 +222,5 @@ chunk without.js (main) 634 bytes [entry] [rendered]
./example.js 70 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -359,7 +359,7 @@ chunk 577.output.js 457 bytes [rendered]
[no exports]
[used exports unknown]
amd require context ./example.js 2:1-4:3
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -379,5 +379,5 @@ chunk (runtime: main) 577.output.js 457 bytes [rendered]
../require.context/templates/ sync ^\.\/.*$ 217 bytes [built] [code generated]
[no exports]
amd require context ./example.js 2:1-4:3
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -359,7 +359,7 @@ chunk 577.output.js 457 bytes [rendered]
[no exports]
[used exports unknown]
cjs require context ./example.js 3:11-64
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -379,5 +379,5 @@ chunk (runtime: main) 577.output.js 457 bytes [rendered]
../require.context/templates/ sync ^\.\/.*$ 217 bytes [built] [code generated]
[no exports]
cjs require context ./example.js 3:11-64
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -316,7 +316,7 @@ chunk 929.output.js 28 bytes [rendered]
[used exports unknown]
cjs self exports reference ./file.js 1:0-14
cjs require !!./file.js ../../node_modules/bundle-loader/index.js!./file.js 8:8-30
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -337,5 +337,5 @@ chunk (runtime: main) 929.output.js 28 bytes [rendered]
[used exports unknown]
cjs self exports reference ./file.js 1:0-14
cjs require !!./file.js ../../node_modules/bundle-loader/index.js!./file.js 8:8-30
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -603,7 +603,7 @@ chunk runtime.js (runtime) 6.86 KiB ={other-vendors}= ={react-vendors}= >{app}<
> react react-vendors
> react-dom react-vendors
runtime modules 6.86 KiB 9 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -671,5 +671,5 @@ chunk (runtime: runtime) runtime.js (runtime) 6.86 KiB ={other-vendors}= ={react
> react react-vendors
> react-dom react-vendors
runtime modules 6.86 KiB 9 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -327,7 +327,7 @@ chunk react-vendors.js (react-vendors) 87 bytes (javascript) 3.42 KiB (runtime)
harmony import specifier react ./app.js 5:12-17
cjs self exports reference ./node_modules/react.js 1:0-14
entry react react-vendors
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -365,5 +365,5 @@ chunk (runtime: react-vendors) react-vendors.js (react-vendors) 87 bytes (javasc
harmony import specifier react ./app.js 5:12-17
cjs self exports reference ./node_modules/react.js 1:0-14
entry react react-vendors
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -429,7 +429,7 @@ chunk 644.output.js 11 bytes [rendered]
./node_modules/b.js 11 bytes [built] [code generated]
[used exports unknown]
import() b ./example.js 3:0-11
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -466,5 +466,5 @@ chunk (runtime: main) 644.output.js 11 bytes [rendered]
./node_modules/b.js 11 bytes [built] [code generated]
[used exports unknown]
import() b ./example.js 3:0-11
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -408,7 +408,7 @@ chunk 718.output.js 38 bytes [rendered]
[used exports unknown]
context element ./foo ./templates/ lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./foo
context element ./foo.js ./templates/ lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./foo.js
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -446,5 +446,5 @@ chunk (runtime: main) 718.output.js 38 bytes [rendered]
[exports: default]
context element ./foo ./templates/ lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./foo
context element ./foo.js ./templates/ lazy ^\.\/.*$ include: \.js$ exclude: \.noimport\.js$ namespace object ./foo.js
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -395,7 +395,7 @@ chunk 718.output.js 38 bytes [rendered]
[used exports unknown]
context element ./foo ./templates/ lazy ^\.\/.*$ namespace object ./foo
context element ./foo.js ./templates/ lazy ^\.\/.*$ namespace object ./foo.js
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -433,5 +433,5 @@ chunk (runtime: main) 718.output.js 38 bytes [rendered]
[exports: default]
context element ./foo ./templates/ lazy ^\.\/.*$ namespace object ./foo
context element ./foo.js ./templates/ lazy ^\.\/.*$ namespace object ./foo.js
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -387,7 +387,7 @@ chunk 930.output.js (chunk-foo) 38 bytes [rendered]
[used exports unknown]
import() ./templates/foo ./example.js 1:0-62
cjs require ./templates/foo ./example.js 6:11-37
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -425,5 +425,5 @@ chunk (runtime: main) 930.output.js (chunk-foo) 38 bytes [rendered]
[exports: default]
import() ./templates/foo ./example.js 1:0-62
cjs require ./templates/foo ./example.js 6:11-37
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -352,7 +352,7 @@ chunk 796.output.js 22 bytes [rendered]
./node_modules/d.js 11 bytes [built] [code generated]
[used exports unknown]
cjs require d ./example.js 5:12-24
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -375,5 +375,5 @@ chunk (runtime: main) 796.output.js 22 bytes [rendered]
./node_modules/d.js 11 bytes [built] [code generated]
[used exports unknown]
cjs require d ./example.js 5:12-24
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -122,7 +122,7 @@ chunk output.js (main) 206 bytes [entry] [rendered]
./example.js 31 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -135,5 +135,5 @@ chunk (runtime: main) output.js (main) 206 bytes [entry] [rendered]
./example.js 31 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -731,7 +731,7 @@ chunk vendor.js (vendor) (id hint: vendor) 54 bytes [initial] [rendered] split c
[used exports unknown]
cjs self exports reference ./node_modules/vendor2.js 1:0-14
cjs require vendor2 ./pageB.js 1:14-32
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -798,5 +798,5 @@ chunk (runtime: pageA, pageB) vendor.js (vendor) (id hint: vendor) 54 bytes [ini
[used exports unknown]
cjs self exports reference ./node_modules/vendor2.js 1:0-14
cjs require vendor2 ./pageB.js 1:14-32
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -489,7 +489,7 @@ chunk 588.output.js 133 bytes [rendered]
[used exports unknown]
cjs require ./pageB ./example.js 8:15-33
cjs self exports reference ./pageB.js 1:0-14
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -532,5 +532,5 @@ chunk (runtime: main) 588.output.js 133 bytes [rendered]
[used exports unknown]
cjs require ./pageB ./example.js 8:15-33
cjs self exports reference ./pageB.js 1:0-14
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -141,7 +141,7 @@ chunk output.js (main) 326 bytes [entry] [rendered]
./example.js 72 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -154,5 +154,5 @@ chunk (runtime: main) output.js (main) 326 bytes [entry] [rendered]
./example.js 72 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -257,5 +257,5 @@ chunk output.js (main) 919 bytes (javascript) 274 bytes (runtime) [entry] [rende
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -169,7 +169,7 @@ chunk vendor.js (main) 57 bytes (javascript) 668 bytes (runtime) [entry] [render
[used exports unknown]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -183,5 +183,5 @@ chunk (runtime: main) vendor.js (main) 57 bytes (javascript) 668 bytes (runtime)
dll main 12 bytes [built] [code generated]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -165,7 +165,7 @@ chunk app.js (main) 178 bytes (javascript) 274 bytes (runtime) [entry] [rendered
[no exports]
[used exports unknown]
entry ./example-app main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -179,7 +179,7 @@ chunk (runtime: main) app.js (main) 178 bytes [entry] [rendered]
[no exports]
[no exports used]
entry ./example-app main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
<!-- @TODO:

View File

@ -230,7 +230,7 @@ chunk dll.js (dll) 211 bytes (javascript) 668 bytes (runtime) [entry] [rendered]
[used exports unknown]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -244,5 +244,5 @@ chunk (runtime: dll) dll.js (dll) 211 bytes (javascript) 668 bytes (runtime) [en
dll dll 12 bytes [built] [code generated]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -205,7 +205,7 @@ chunk output.js (main) 541 bytes [entry] [rendered]
./example.js 205 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -218,5 +218,5 @@ chunk (runtime: main) output.js (main) 541 bytes [entry] [rendered]
./example.js 205 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -156,7 +156,7 @@ chunk MyDll.beta.js (beta) 80 bytes [entry] [rendered]
[used exports unknown]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -176,5 +176,5 @@ chunk (runtime: beta) MyDll.beta.js (beta) 80 bytes [entry] [rendered]
dll beta 12 bytes [built] [code generated]
dll entry
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -228,7 +228,7 @@ vendor:
[used exports unknown]
dll entry
used as library export
vendor (webpack 5.0.0-beta.32) compiled successfully
vendor (webpack 5.0.0-rc.2) compiled successfully
app:
asset pageB.js 2.51 KiB [emitted] (name: pageB)
@ -254,7 +254,7 @@ app:
[used exports unknown]
cjs self exports reference ./pageC.js 1:0-14
entry ./pageC pageC
app (webpack 5.0.0-beta.32) compiled successfully
app (webpack 5.0.0-rc.2) compiled successfully
```
## Production mode
@ -268,7 +268,7 @@ vendor:
dll main 12 bytes [built] [code generated]
dll entry
used as library export
vendor (webpack 5.0.0-beta.32) compiled successfully
vendor (webpack 5.0.0-rc.2) compiled successfully
app:
asset pageA.js 283 bytes [emitted] [minimized] (name: pageA)
@ -294,5 +294,5 @@ app:
[used exports unknown]
cjs self exports reference ./pageA.js 2:0-14
entry ./pageA pageA
app (webpack 5.0.0-beta.32) compiled successfully
app (webpack 5.0.0-rc.2) compiled successfully
```

View File

@ -162,7 +162,7 @@ chunk output.js (main) 194 bytes [entry] [rendered]
[used exports unknown]
entry ./example.js main
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -176,5 +176,5 @@ chunk (runtime: main) output.js (main) 194 bytes [entry] [rendered]
[exports: exampleValue]
entry ./example.js main
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -347,7 +347,7 @@ chunk 996.output.js 21 bytes [rendered] split chunk (cache group: default)
cjs require ./b ./example.js 4:1-15
require.ensure item ./b ./example.js 10:1-12:3
require.ensure item ./b ./example.js 13:1-15:3
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -420,5 +420,5 @@ chunk (runtime: main) 996.output.js 21 bytes [rendered] split chunk (cache group
cjs require ./b ./example.js 4:1-15
require.ensure item ./b ./example.js 10:1-12:3
require.ensure item ./b ./example.js 13:1-15:3
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -392,7 +392,7 @@ chunk 767.output.js 21 bytes [rendered]
[used exports unknown]
cjs self exports reference ./d.js 1:0-14
cjs require ./d ./example.js 7:1-15
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -433,5 +433,5 @@ chunk (runtime: main) 767.output.js 21 bytes [rendered]
[used exports unknown]
cjs self exports reference ./d.js 1:0-14
cjs require ./d ./example.js 7:1-15
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -288,7 +288,7 @@ chunk output.js (main) 1.13 KiB (javascript) 931 bytes (runtime) [entry] [render
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -303,5 +303,5 @@ chunk (runtime: main) output.js (main) 1.13 KiB (javascript) 668 bytes (runtime)
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -144,7 +144,7 @@ chunk MyLibrary.umd.js (main) 92 bytes (javascript) 668 bytes (runtime) [entry]
[used exports unknown]
entry ./example main
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -158,5 +158,5 @@ chunk (runtime: main) MyLibrary.umd.js (main) 92 bytes (javascript) 668 bytes (r
[exports: default, increment, value]
entry ./example main
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -258,7 +258,7 @@ chunk output.js (main) 698 bytes (javascript) 668 bytes (runtime) [entry] [rende
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -273,5 +273,5 @@ chunk (runtime: main) output.js (main) 698 bytes (javascript) 394 bytes (runtime
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -358,7 +358,7 @@ chunk output.js (main) 400 bytes (javascript) 5.42 KiB (runtime) [entry] [render
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -378,5 +378,5 @@ chunk (runtime: main) output.js (main) 400 bytes (javascript) 5.42 KiB (runtime)
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -62,7 +62,7 @@ chunk 5526ff367fe4665c9c7e.js 6.45 KiB [rendered]
chunk 47ea1b166a82a1b5f43d.js (id hint: vendors) 116 KiB [rendered] [recorded] aggressive splitted, reused as split chunk (cache group: defaultVendors)
> react-dom ./example.js 2:0-22
../../node_modules/react-dom/cjs/react-dom.production.min.js 116 KiB [built] [code generated]
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -84,7 +84,7 @@ chunk (runtime: main) b0b6aefd6d463ae1bef1.js 6.45 KiB [rendered]
chunk (runtime: main) 72aa363ce76bb633931d.js (id hint: vendors) 116 KiB [rendered] [recorded] aggressive splitted, reused as split chunk (cache group: defaultVendors)
> react-dom ./example.js 2:0-22
../../node_modules/react-dom/cjs/react-dom.production.min.js 116 KiB [built] [code generated]
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Records

View File

@ -574,7 +574,7 @@ chunk router_js.bundle.js 951 bytes [initial] [rendered] split chunk (cache grou
[used exports unknown]
entry ./router pageA
entry ./router pageB
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -629,5 +629,5 @@ chunk (runtime: pageA, pageB) router_js.bundle.js 951 bytes [initial] [rendered]
[no exports used]
entry ./router pageA
entry ./router pageB
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -59,7 +59,7 @@ exports.foo = "bar";
/*! unknown exports (runtime-defined) */
/*! runtime requirements: __webpack_exports__, module, __webpack_require__, module.id */
/*! CommonJS bailout: exports is used directly at 3:0-7 */
/*! CommonJS bailout: exports.push(...) prevents optimization as exports is passed as call context as 5:0-12 */
/*! CommonJS bailout: exports.push(...) prevents optimization as exports is passed as call context at 5:0-12 */
/*! CommonJS bailout: exports is used directly at 7:17-24 */
/*! CommonJS bailout: module.exports is used directly at 7:0-14 */
/***/ ((module, exports, __webpack_require__) => {
@ -257,7 +257,7 @@ chunk output.js (main) 2.96 KiB [entry] [rendered]
./example.js 205 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -270,5 +270,5 @@ chunk (runtime: main) output.js (main) 2.96 KiB [entry] [rendered]
./example.js 205 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -134,5 +134,5 @@ chunk (runtime: pageD, pageE, pageF) 833.js (id hint: vendors) 86 bytes [initial
> ./pages/f pageF
./node_modules/m7.js 43 bytes [built] [code generated]
./node_modules/m8.js 43 bytes [built] [code generated]
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -507,7 +507,7 @@ chunk 635.output.js 433 bytes [rendered]
[no exports]
[used exports unknown]
amd require context ./example.js 7:0-14:1
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -528,5 +528,5 @@ chunk (runtime: main) 635.output.js 433 bytes [rendered]
../require.context/templates/ sync ^\.\/.*\.js$ 193 bytes [built] [code generated]
[no exports]
amd require context ./example.js 7:0-14:1
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -2052,7 +2052,7 @@ app:
chunk 6 bytes (remote) 6 bytes (share-init)
> mfe-c/Component2 ./src/App.js 8:49-75
remote mfe-c/Component2 6 bytes (remote) 6 bytes (share-init) [built] [code generated]
app (webpack 5.0.0-beta.32) compiled successfully
app (webpack 5.0.0-rc.2) compiled successfully
mfe-b:
asset vendors-node_modules_date-fns_esm_index_js.js 857 KiB [emitted] (id hint: vendors)
@ -2080,7 +2080,7 @@ mfe-b:
> consume shared module (default) date-fns@^2.15.0 (strict) (fallback: ../../node_modules/date-fns/esm/index.js)
dependent modules 496 KiB [dependent] 231 modules
../../node_modules/date-fns/esm/index.js 13.2 KiB [built] [code generated]
mfe-b (webpack 5.0.0-beta.32) compiled successfully
mfe-b (webpack 5.0.0-rc.2) compiled successfully
mfe-c:
assets by chunk 880 KiB (id hint: vendors)
@ -2118,7 +2118,7 @@ mfe-c:
> ./src-c/Component container entry ./Component
> ./src-c/LazyComponent container entry ./Component2
consume shared module (default) react@^16.13.1 (singleton) 42 bytes [built] [code generated]
mfe-c (webpack 5.0.0-beta.32) compiled successfully
mfe-c (webpack 5.0.0-rc.2) compiled successfully
```
## Production mode
@ -2159,7 +2159,7 @@ app:
chunk (runtime: app) 6 bytes (remote) 6 bytes (share-init)
> mfe-c/Component2 ./src/App.js 8:49-75
remote mfe-c/Component2 6 bytes (remote) 6 bytes (share-init) [built] [code generated]
app (webpack 5.0.0-beta.32) compiled successfully
app (webpack 5.0.0-rc.2) compiled successfully
mfe-b:
asset vendors-node_modules_date-fns_esm_index_js.js 78 KiB [emitted] [minimized] (id hint: vendors)
@ -2186,7 +2186,7 @@ mfe-b:
> consume shared module (default) date-fns@^2.15.0 (strict) (fallback: ../../node_modules/date-fns/esm/index.js)
> provide shared module (default) date-fns@2.16.1 = ../../node_modules/date-fns/esm/index.js
../../node_modules/date-fns/esm/index.js + 231 modules 509 KiB [built] [code generated]
mfe-b (webpack 5.0.0-beta.32) compiled successfully
mfe-b (webpack 5.0.0-rc.2) compiled successfully
mfe-c:
asset vendors-node_modules_date-fns_esm_index_js.js 78 KiB [emitted] [minimized] (id hint: vendors)
@ -2222,5 +2222,5 @@ mfe-c:
> ./src-c/Component container entry ./Component
> ./src-c/LazyComponent container entry ./Component2
consume shared module (default) react@^16.13.1 (singleton) 42 bytes [built] [code generated]
mfe-c (webpack 5.0.0-beta.32) compiled successfully
mfe-c (webpack 5.0.0-rc.2) compiled successfully
```

View File

@ -92,7 +92,7 @@ chunk (runtime: main) output.js (main) 429 bytes [entry] [rendered]
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -105,5 +105,5 @@ chunk (runtime: main) output.js (main) 429 bytes [entry] [rendered]
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -142,7 +142,7 @@ mobile:
./example.js 94 bytes [built] [code generated]
[used exports unknown]
entry ./example main
mobile (webpack 5.0.0-beta.32) compiled successfully
mobile (webpack 5.0.0-rc.2) compiled successfully
desktop:
asset desktop.js 262 bytes [emitted] (name: main)
@ -151,7 +151,7 @@ desktop:
./example.js 94 bytes [built] [code generated]
[used exports unknown]
entry ./example main
desktop (webpack 5.0.0-beta.32) compiled successfully
desktop (webpack 5.0.0-rc.2) compiled successfully
```
## Production mode
@ -165,7 +165,7 @@ mobile:
./example.js 94 bytes [built] [code generated]
[no exports used]
entry ./example main
mobile (webpack 5.0.0-beta.32) compiled successfully
mobile (webpack 5.0.0-rc.2) compiled successfully
desktop:
asset desktop.js 37 bytes [emitted] [minimized] (name: main)
@ -174,5 +174,5 @@ desktop:
./example.js 94 bytes [built] [code generated]
[no exports used]
entry ./example main
desktop (webpack 5.0.0-beta.32) compiled successfully
desktop (webpack 5.0.0-rc.2) compiled successfully
```

View File

@ -197,7 +197,7 @@ chunk MyLibrary.beta.js (beta) 24 bytes [entry] [rendered]
cjs self exports reference ./beta.js 1:0-14
entry ./beta beta
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -219,5 +219,5 @@ chunk (runtime: beta) MyLibrary.beta.js (beta) 24 bytes [entry] [rendered]
cjs self exports reference ./beta.js 1:0-14
entry ./beta beta
used as library export
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -726,7 +726,7 @@ chunk pageA.js (pageA) 105 bytes (javascript) 6.03 KiB (runtime) [entry] [render
./pageA.js 105 bytes [built] [code generated]
[used exports unknown]
entry ./pageA pageA
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -768,5 +768,5 @@ chunk (runtime: pageA) pageA.js (pageA) 105 bytes (javascript) 6.04 KiB (runtime
./pageA.js 105 bytes [built] [code generated]
[no exports used]
entry ./pageA pageA
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -401,7 +401,7 @@ chunk 885.output.js 22 bytes [rendered]
[used exports unknown]
cjs require d ./example.js 10:9-21
cjs require d ./example.js 19:9-21
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -444,5 +444,5 @@ chunk (runtime: main) 885.output.js 22 bytes [rendered]
[used exports unknown]
cjs require d ./example.js 10:9-21
cjs require d ./example.js 19:9-21
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -56,29 +56,19 @@ module.exports = (env = "development") => ({
```
asset output.js 3.92 MiB [emitted] (name: main)
chunk output.js (main) 2.8 MiB (javascript) 1.58 KiB (runtime) [entry] [rendered]
chunk output.js (main) 2.8 MiB (javascript) 1.58 KiB (runtime) [entry]
> ./example.js main
dependent modules 2.8 MiB [dependent] 1183 modules
runtime modules 1.58 KiB 7 modules
./example.js 214 bytes [built] [code generated]
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
cached modules 2.8 MiB (javascript) 1.58 KiB (runtime) [cached] 1191 modules
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
```
asset output.js 544 KiB [emitted] [minimized] [big] (name: main) 1 related asset
chunk (runtime: main) output.js (main) 1.89 MiB (javascript) 1.33 KiB (runtime) [entry] [rendered]
chunk (runtime: main) output.js (main) 1.89 MiB (javascript) 1.33 KiB (runtime) [entry]
> ./example.js main
dependent modules 1.13 MiB [dependent] 563 modules
runtime modules 1.33 KiB 6 modules
./example.js + 612 modules 775 KiB [built] [code generated]
[no exports]
[no exports used]
entry ./example.js main
cached modules 1.89 MiB (javascript) 1.33 KiB (runtime) [cached] 570 modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
@ -94,5 +84,5 @@ WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
webpack 5.0.0-beta.32 compiled with 3 warnings
webpack 5.0.0-rc.2 compiled with 3 warnings
```

View File

@ -181,7 +181,7 @@ chunk output.js (main) 603 bytes (javascript) 86 bytes (runtime) [entry] [render
./example.js 146 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -195,7 +195,7 @@ chunk (runtime: main) output.js (main) 603 bytes (javascript) 86 bytes (runtime)
./example.js 146 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
# Code Splitting

View File

@ -125,7 +125,7 @@ chunk output.js (main) 313 bytes [entry] [rendered]
./example.js 282 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -138,5 +138,5 @@ chunk (runtime: main) output.js (main) 313 bytes [entry] [rendered]
./example.js 282 bytes [built] [code generated]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -524,7 +524,7 @@ chunk (runtime: main) 872.output.js 263 bytes [rendered]
./lazy.js + 2 modules 221 bytes [built] [code generated]
[exports: c, d, x, y]
import() ./lazy ./example.js + 2 modules ./example.js 4:0-16
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -546,5 +546,5 @@ chunk (runtime: main) 872.output.js 263 bytes [rendered]
./lazy.js + 2 modules 221 bytes [built] [code generated]
[exports: c, d, x, y]
import() ./lazy ./example.js + 2 modules ./example.js 4:0-16
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -287,7 +287,7 @@ chunk output.js (main) 325 bytes (javascript) 668 bytes (runtime) [entry] [rende
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -300,5 +300,5 @@ chunk (runtime: main) output.js (main) 325 bytes [entry] [rendered]
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -310,7 +310,7 @@ chunk ./bundle-eval.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-eval.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-eval-cheap-source-map.js 5.64 KiB [emitted] (name: runtime~bundle)
asset ./bundle-eval-cheap-source-map.js 1.98 KiB [emitted] (name: bundle)
@ -323,7 +323,7 @@ chunk ./bundle-eval-cheap-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-eval-cheap-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-eval-cheap-module-source-map.js 5.64 KiB [emitted] (name: runtime~bundle)
asset ./bundle-eval-cheap-module-source-map.js 2.12 KiB [emitted] (name: bundle)
@ -336,7 +336,7 @@ chunk ./bundle-eval-cheap-module-source-map.js (bundle) 256 bytes [initial] [ren
chunk ./runtime~bundle-eval-cheap-module-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-eval-source-map.js 5.64 KiB [emitted] (name: runtime~bundle)
asset ./bundle-eval-source-map.js 2.12 KiB [emitted] (name: bundle)
@ -349,7 +349,7 @@ chunk ./bundle-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-eval-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-cheap-source-map.js 5.15 KiB [emitted] (name: runtime~bundle) 1 related asset
asset ./bundle-cheap-source-map.js 717 bytes [emitted] (name: bundle) 1 related asset
@ -362,7 +362,7 @@ chunk ./bundle-cheap-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-cheap-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-cheap-module-source-map.js 5.16 KiB [emitted] (name: runtime~bundle) 1 related asset
asset ./bundle-cheap-module-source-map.js 724 bytes [emitted] (name: bundle) 1 related asset
@ -375,7 +375,7 @@ chunk ./bundle-cheap-module-source-map.js (bundle) 256 bytes [initial] [rendered
chunk ./runtime~bundle-cheap-module-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-inline-cheap-source-map.js 11 KiB [emitted] (name: runtime~bundle)
asset ./bundle-inline-cheap-source-map.js 1.41 KiB [emitted] (name: bundle)
@ -388,7 +388,7 @@ chunk ./bundle-inline-cheap-source-map.js (bundle) 256 bytes [initial] [rendered
chunk ./runtime~bundle-inline-cheap-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-inline-cheap-module-source-map.js 11 KiB [emitted] (name: runtime~bundle)
asset ./bundle-inline-cheap-module-source-map.js 1.31 KiB [emitted] (name: bundle)
@ -401,7 +401,7 @@ chunk ./bundle-inline-cheap-module-source-map.js (bundle) 256 bytes [initial] [r
chunk ./runtime~bundle-inline-cheap-module-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-source-map.js 5.14 KiB [emitted] (name: runtime~bundle) 1 related asset
asset ./bundle-source-map.js 711 bytes [emitted] (name: bundle) 1 related asset
@ -414,7 +414,7 @@ chunk ./bundle-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-inline-source-map.js 11 KiB [emitted] (name: runtime~bundle)
asset ./bundle-inline-source-map.js 1.42 KiB [emitted] (name: bundle)
@ -427,7 +427,7 @@ chunk ./bundle-inline-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-inline-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-hidden-source-map.js 5.09 KiB [emitted] (name: runtime~bundle) 1 related asset
asset ./bundle-hidden-source-map.js 665 bytes [emitted] (name: bundle) 1 related asset
@ -440,7 +440,7 @@ chunk ./bundle-hidden-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-hidden-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
asset ./runtime~bundle-nosources-source-map.js 5.15 KiB [emitted] (name: runtime~bundle) 1 related asset
asset ./bundle-nosources-source-map.js 721 bytes [emitted] (name: bundle) 1 related asset
@ -453,5 +453,5 @@ chunk ./bundle-nosources-source-map.js (bundle) 256 bytes [initial] [rendered]
chunk ./runtime~bundle-nosources-source-map.js (runtime~bundle) 2.57 KiB [entry] [rendered]
> coffee-loader!./example.coffee bundle
runtime modules 2.57 KiB 2 modules
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -535,7 +535,7 @@ chunk 497.output.js 617 bytes [rendered]
[used exports unknown]
import() ./UserApi.js ./Actions.js 2:16-38
import() ./UserApi.js ./Actions.js 22:30-52
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -558,5 +558,5 @@ chunk (runtime: main) 497.output.js 617 bytes [rendered]
[exports: createUser]
import() ./UserApi.js ./example.js + 1 modules ./Actions.js 2:16-38
import() ./UserApi.js ./example.js + 1 modules ./Actions.js 22:30-52
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -305,7 +305,7 @@ chunk vendor2.js (vendor2) 77 bytes [entry] [rendered]
cjs require ./vendor2 ./pageA.js 3:0-20
cjs self exports reference ./vendor2.js 1:0-14
entry ./vendor2 vendor2
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -351,5 +351,5 @@ chunk (runtime: vendor1) vendor1.js (vendor1) 27 bytes [entry] [rendered]
cjs self exports reference ./vendor1.js 1:0-14
cjs require ./vendor1 ./vendor2.js 2:0-20
entry ./vendor1 vendor1
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -146,48 +146,7 @@ chunk output.js (main) 652 bytes [entry] [rendered]
./example.js 33 bytes [built] [code generated]
[used exports unknown]
entry ./example.js main
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts(14,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts(15,31):
TS2307: Cannot find module '@babel/parser' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__generator/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__generator/index.d.ts(11,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts(9,31):
TS2307: Cannot find module '@babel/parser' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts(10,54):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(12,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(40,5):
TS2411: Property 'scope' of type 'Scope' is not assignable to string index type '(VisitNodeFunction<S, any> & VisitNodeFunction<S, any>) | (VisitNodeFunction<S, any> & VisitNodeObject<S, any>) | (VisitNodeObject<...> & VisitNodeFunction<...>) | (VisitNodeObject<...> & VisitNodeObject<...>)'.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(41,5):
TS2411: Property 'noScope' of type 'boolean' is not assignable to string index type '(VisitNodeFunction<S, any> & VisitNodeFunction<S, any>) | (VisitNodeFunction<S, any> & VisitNodeObject<S, any>) | (VisitNodeObject<...> & VisitNodeFunction<...>) | (VisitNodeObject<...> & VisitNodeObject<...>)'.
ERROR in (webpack)/node_modules/@types/jest/index.d.ts
ERROR in (webpack)/node_modules/@types/jest/index.d.ts(486,51):
TS2307: Cannot find module 'jest-diff' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/jest/index.d.ts
ERROR in (webpack)/node_modules/@types/jest/index.d.ts(540,44):
TS2307: Cannot find module 'pretty-format' or its corresponding type declarations.
webpack 5.0.0-beta.32 compiled with 10 errors
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -202,46 +161,5 @@ chunk (runtime: main) output.js (main) 652 bytes [entry] [rendered]
./example.js 33 bytes [built] [code generated]
[no exports used]
entry ./example.js main
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts(14,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__core/index.d.ts(15,31):
TS2307: Cannot find module '@babel/parser' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__generator/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__generator/index.d.ts(11,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts(9,31):
TS2307: Cannot find module '@babel/parser' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__template/index.d.ts(10,54):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(12,20):
TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(40,5):
TS2411: Property 'scope' of type 'Scope' is not assignable to string index type '(VisitNodeFunction<S, any> & VisitNodeFunction<S, any>) | (VisitNodeFunction<S, any> & VisitNodeObject<S, any>) | (VisitNodeObject<...> & VisitNodeFunction<...>) | (VisitNodeObject<...> & VisitNodeObject<...>)'.
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts
ERROR in (webpack)/node_modules/@types/babel__traverse/index.d.ts(41,5):
TS2411: Property 'noScope' of type 'boolean' is not assignable to string index type '(VisitNodeFunction<S, any> & VisitNodeFunction<S, any>) | (VisitNodeFunction<S, any> & VisitNodeObject<S, any>) | (VisitNodeObject<...> & VisitNodeFunction<...>) | (VisitNodeObject<...> & VisitNodeObject<...>)'.
ERROR in (webpack)/node_modules/@types/jest/index.d.ts
ERROR in (webpack)/node_modules/@types/jest/index.d.ts(486,51):
TS2307: Cannot find module 'jest-diff' or its corresponding type declarations.
ERROR in (webpack)/node_modules/@types/jest/index.d.ts
ERROR in (webpack)/node_modules/@types/jest/index.d.ts(540,44):
TS2307: Cannot find module 'pretty-format' or its corresponding type declarations.
webpack 5.0.0-beta.32 compiled with 10 errors
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -319,7 +319,7 @@ chunk output.js (main) 696 bytes (javascript) 139 bytes (webassembly) 1.2 KiB (r
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -335,5 +335,5 @@ chunk (runtime: main) output.js (main) 696 bytes (javascript) 139 bytes (webasse
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -299,7 +299,7 @@ chunk output.js (main) 1.27 KiB (javascript) 170 bytes (webassembly) 1.19 KiB (r
[no exports]
[used exports unknown]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -317,5 +317,5 @@ chunk (runtime: main) output.js (main) 1.27 KiB (javascript) 170 bytes (webassem
[no exports]
[no exports used]
entry ./example.js main
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```

View File

@ -770,7 +770,7 @@ chunk (runtime: ./example.js|79:18-82:2) workers/fibonacci.js (fibonacci) 176 by
./fib-worker.js 176 bytes [built] [code generated]
[no exports used]
new Worker() ./fib-worker.js ./example.js 79:18-82:2
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```
## Production mode
@ -805,5 +805,5 @@ chunk (runtime: ./example.js|79:18-82:2) workers/fibonacci.js (fibonacci) 176 by
./fib-worker.js 176 bytes [built] [code generated]
[no exports used]
new Worker() ./fib-worker.js ./example.js 79:18-82:2
webpack 5.0.0-beta.32 compiled successfully
webpack 5.0.0-rc.2 compiled successfully
```