Skip to content

Commit 5ec703d

Browse files
chore(deps): bump webpack (#1875)
1 parent 7299866 commit 5ec703d

File tree

5 files changed

+318
-193
lines changed

5 files changed

+318
-193
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
/******/ (() => { // webpackBootstrap
1010
/******/ var __webpack_modules__ = ({
1111

12-
/***/ 695:
13-
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
12+
/***/ 48:
13+
/***/ ((module) => {
1414

15-
eval("__webpack_require__(969);\n\nvar universal = __webpack_require__(48);\nvar h1 = document.createElement(\"h1\");\nh1.innerHTML = universal();\n\ndocument.body.appendChild(h1);\n\n\n//# sourceURL=webpack:///./example.js?");
15+
"use strict";
16+
eval("{// This file is used for frontend and backend\n\n\n// If compiled by the html-webpack-plugin\n// HTML_WEBPACK_PLUGIN is set to true:\nvar backend = typeof HTML_WEBPACK_PLUGIN !== \"undefined\";\n\nmodule.exports = function () {\n return \"Hello World from \" + (backend ? \"backend\" : \"frontend\");\n};\n\n\n//# sourceURL=webpack:///./universal.js?\n}");
1617

1718
/***/ }),
1819

19-
/***/ 48:
20-
/***/ ((module) => {
20+
/***/ 695:
21+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
2122

22-
"use strict";
23-
eval("// This file is used for frontend and backend\n\n\n// If compiled by the html-webpack-plugin\n// HTML_WEBPACK_PLUGIN is set to true:\nvar backend = typeof HTML_WEBPACK_PLUGIN !== \"undefined\";\n\nmodule.exports = function () {\n return \"Hello World from \" + (backend ? \"backend\" : \"frontend\");\n};\n\n\n//# sourceURL=webpack:///./universal.js?");
23+
eval("{__webpack_require__(969);\n\nvar universal = __webpack_require__(48);\nvar h1 = document.createElement(\"h1\");\nh1.innerHTML = universal();\n\ndocument.body.appendChild(h1);\n\n\n//# sourceURL=webpack:///./example.js?\n}");
2424

2525
/***/ }),
2626

2727
/***/ 969:
2828
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2929

3030
"use strict";
31-
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack:///./main.css?");
31+
eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack:///./main.css?\n}");
3232

3333
/***/ })
3434

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

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,6 @@
11
/******/ (() => { // webpackBootstrap
22
/******/ var __webpack_modules__ = ({
33

4-
/***/ 969:
5-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6-
7-
"use strict";
8-
__webpack_require__.r(__webpack_exports__);
9-
// extracted by mini-css-extract-plugin
10-
11-
12-
/***/ }),
13-
14-
/***/ 487:
15-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16-
17-
var pug = __webpack_require__(355);
18-
19-
function template(locals) {var pug_html = "", pug_mixins = {}, pug_interp;;
20-
var locals_for_with = (locals || {});
21-
22-
(function (time) {
23-
pug_html = pug_html + "\u003C!-- this partial is used for frontend and backend--\u003E\u003Cdiv class=\"time\"\u003E \u003Cb\u003ECurrent time\u003C\u002Fb\u003E\u003Cp\u003E" + (pug.escape(null == (pug_interp = time.toISOString()) ? "" : pug_interp)) + "\u003C\u002Fp\u003E\u003C\u002Fdiv\u003E\u003Cimg src=\"#{require('.\u002Flogo.png')}\"\u003E";
24-
}.call(this, "time" in locals_for_with ?
25-
locals_for_with.time :
26-
typeof time !== 'undefined' ? time : undefined));
27-
;;return pug_html;};
28-
module.exports = template;
29-
30-
/***/ }),
31-
324
/***/ 355:
335
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
346

@@ -321,13 +293,41 @@ function pug_rethrow(err, filename, lineno, str) {
321293
}
322294

323295

296+
/***/ }),
297+
298+
/***/ 487:
299+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
300+
301+
var pug = __webpack_require__(355);
302+
303+
function template(locals) {var pug_html = "", pug_mixins = {}, pug_interp;;
304+
var locals_for_with = (locals || {});
305+
306+
(function (time) {
307+
pug_html = pug_html + "\u003C!-- this partial is used for frontend and backend--\u003E\u003Cdiv class=\"time\"\u003E \u003Cb\u003ECurrent time\u003C\u002Fb\u003E\u003Cp\u003E" + (pug.escape(null == (pug_interp = time.toISOString()) ? "" : pug_interp)) + "\u003C\u002Fp\u003E\u003C\u002Fdiv\u003E\u003Cimg src=\"#{require('.\u002Flogo.png')}\"\u003E";
308+
}.call(this, "time" in locals_for_with ?
309+
locals_for_with.time :
310+
typeof time !== 'undefined' ? time : undefined));
311+
;;return pug_html;};
312+
module.exports = template;
313+
324314
/***/ }),
325315

326316
/***/ 900:
327317
/***/ (() => {
328318

329319
/* (ignored) */
330320

321+
/***/ }),
322+
323+
/***/ 969:
324+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
325+
326+
"use strict";
327+
__webpack_require__.r(__webpack_exports__);
328+
// extracted by mini-css-extract-plugin
329+
330+
331331
/***/ })
332332

333333
/******/ });
@@ -370,7 +370,7 @@ function pug_rethrow(err, filename, lineno, str) {
370370
/******/
371371
/************************************************************************/
372372
var __webpack_exports__ = {};
373-
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
373+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
374374
(() => {
375375
"use strict";
376376

0 commit comments

Comments
 (0)