Skip to content

Commit e5036c8

Browse files
committed
chore: upgrade dev dependency to latest webpack version
1 parent 2e30bb1 commit e5036c8

File tree

22 files changed

+49
-8
lines changed

22 files changed

+49
-8
lines changed

examples/chunk-optimization/dist/webpack-5/entryA.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ document.body.appendChild(h1);
176176
/******/ })();
177177
/******/
178178
/************************************************************************/
179+
/******/
179180
/******/ // run startup
180-
/******/ __webpack_require__.x();
181+
/******/ var __webpack_exports__ = __webpack_require__.x();
182+
/******/
181183
/******/ })()
182184
;

examples/chunk-optimization/dist/webpack-5/entryB.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ document.body.appendChild(h1);
175175
/******/ })();
176176
/******/
177177
/************************************************************************/
178+
/******/
178179
/******/ // run startup
179-
/******/ __webpack_require__.x();
180+
/******/ var __webpack_exports__ = __webpack_require__.x();
181+
/******/
180182
/******/ })()
181183
;

examples/custom-insertion-position/dist/webpack-5/bundle.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'Hello world!';
45
document.body.appendChild(h1);

examples/custom-template/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
4949
/******/ })();
5050
/******/
5151
/************************************************************************/
52+
var __webpack_exports__ = {};
53+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5254
(() => {
5355
__webpack_require__(636);
5456
var h1 = document.createElement('h1');

examples/default/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ module.exports = function (list, options) {
464464
/******/ })();
465465
/******/
466466
/************************************************************************/
467+
var __webpack_exports__ = {};
468+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
467469
(() => {
468470
__webpack_require__(965);
469471
var h1 = document.createElement('h1');

examples/favicon/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
4949
/******/ })();
5050
/******/
5151
/************************************************************************/
52+
var __webpack_exports__ = {};
53+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5254
(() => {
5355
__webpack_require__(636);
5456
var h1 = document.createElement('h1');

examples/html-loader/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
4949
/******/ })();
5050
/******/
5151
/************************************************************************/
52+
var __webpack_exports__ = {};
53+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5254
(() => {
5355
__webpack_require__(636);
5456
var h1 = document.createElement('h1');

examples/inline/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
4949
/******/ })();
5050
/******/
5151
/************************************************************************/
52+
var __webpack_exports__ = {};
53+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5254
(() => {
5355

5456
__webpack_require__(636);

examples/inline/dist/webpack-5/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
/******/ })();
5252
/******/
5353
/************************************************************************/
54+
var __webpack_exports__ = {};
55+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5456
(() => {
5557

5658
__webpack_require__(636);

examples/javascript-advanced/dist/webpack-5/bundle.js

+13-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
/******/ (() => { // webpackBootstrap
1010
/******/ var __webpack_modules__ = ({
1111

12+
/***/ 144:
13+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
14+
15+
eval("__webpack_require__(636);\n\nvar universal = __webpack_require__(184);\nvar h1 = document.createElement('h1');\nh1.innerHTML = universal();\n\ndocument.body.appendChild(h1);\n\n\n//# sourceURL=webpack:///./example.js?");
16+
17+
/***/ }),
18+
1219
/***/ 184:
1320
/***/ ((module) => {
1421

@@ -63,9 +70,11 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
6370
/******/ })();
6471
/******/
6572
/************************************************************************/
66-
(() => {
67-
eval("__webpack_require__(636);\n\nvar universal = __webpack_require__(184);\nvar h1 = document.createElement('h1');\nh1.innerHTML = universal();\n\ndocument.body.appendChild(h1);\n\n\n//# sourceURL=webpack:///./example.js?");
68-
})();
69-
73+
/******/
74+
/******/ // startup
75+
/******/ // Load entry module and return exports
76+
/******/ // This entry module can't be inlined because the eval devtool is used.
77+
/******/ var __webpack_exports__ = __webpack_require__(144);
78+
/******/
7079
/******/ })()
7180
;

examples/javascript/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ __webpack_require__.r(__webpack_exports__);
6767
/******/ })();
6868
/******/
6969
/************************************************************************/
70+
var __webpack_exports__ = {};
71+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
7072
(() => {
7173
__webpack_require__(636);
7274

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<head><script defer="defer" src="bundle.js"></script><link href="styles.css" rel="stylesheet"></head>Hello World from backend2021-01-14T14:20:54.163Z<h2>Partial</h2><img src="55b19870aff2e53d1fb1.png">
1+
<head><script defer="defer" src="bundle.js"></script><link href="styles.css" rel="stylesheet"></head>Hello World from backend2021-02-19T12:55:16.489Z<h2>Partial</h2><img src="55b19870aff2e53d1fb1.png">

examples/multi-page/dist/webpack-5/first.js

+2
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ module.exports = function (list, options) {
464464
/******/ })();
465465
/******/
466466
/************************************************************************/
467+
var __webpack_exports__ = {};
468+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
467469
(() => {
468470
__webpack_require__(965);
469471
var h1 = document.createElement('h1');

examples/multi-page/dist/webpack-5/second.js

+2
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ module.exports = function (list, options) {
464464
/******/ })();
465465
/******/
466466
/************************************************************************/
467+
var __webpack_exports__ = {};
468+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
467469
(() => {
468470
__webpack_require__(965);
469471
var h1 = document.createElement('h1');

examples/pug-loader/dist/webpack-5/bundle.js

+2
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ function pug_rethrow(err, filename, lineno, str){
328328
/******/ })();
329329
/******/
330330
/************************************************************************/
331+
var __webpack_exports__ = {};
332+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
331333
(() => {
332334
"use strict";
333335

examples/sort-manually/dist/webpack-5/a.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
4949
/******/ })();
5050
/******/
5151
/************************************************************************/
52+
var __webpack_exports__ = {};
53+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5254
(() => {
5355
__webpack_require__(636);
5456
var h1 = document.createElement('h1');

examples/sort-manually/dist/webpack-5/b.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'b!';
45
document.body.appendChild(h1);

examples/sort-manually/dist/webpack-5/c.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'c!';
45
document.body.appendChild(h1);

examples/sort-manually/dist/webpack-5/d.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'd!';
45
document.body.appendChild(h1);

examples/sort-manually/dist/webpack-5/e.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'e!';
45
document.body.appendChild(h1);

examples/template-parameters/dist/webpack-5/bundle.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/******/ (() => { // webpackBootstrap
2+
var __webpack_exports__ = {};
23
var h1 = document.createElement('h1');
34
h1.innerHTML = 'Hello world!';
45
document.body.appendChild(h1);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"standard-version": "9.1.0",
4747
"style-loader": "2.0.0",
4848
"typescript": "4.1.3",
49-
"webpack": "^5.20.0",
49+
"webpack": "5.23.0",
5050
"webpack-recompilation-simulator": "3.2.0",
5151
"webpack-cli": "4.2.0"
5252
},

0 commit comments

Comments
 (0)