Skip to content

Commit

Permalink
chore: upgrade dev dependency to latest webpack version
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Feb 19, 2021
1 parent 2e30bb1 commit e5036c8
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 8 deletions.
4 changes: 3 additions & 1 deletion examples/chunk-optimization/dist/webpack-5/entryA.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ document.body.appendChild(h1);
/******/ })();
/******/
/************************************************************************/
/******/
/******/ // run startup
/******/ __webpack_require__.x();
/******/ var __webpack_exports__ = __webpack_require__.x();
/******/
/******/ })()
;
4 changes: 3 additions & 1 deletion examples/chunk-optimization/dist/webpack-5/entryB.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ document.body.appendChild(h1);
/******/ })();
/******/
/************************************************************************/
/******/
/******/ // run startup
/******/ __webpack_require__.x();
/******/ var __webpack_exports__ = __webpack_require__.x();
/******/
/******/ })()
;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'Hello world!';
document.body.appendChild(h1);
Expand Down
2 changes: 2 additions & 0 deletions examples/custom-template/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(636);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/default/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ module.exports = function (list, options) {
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(965);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/favicon/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(636);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/html-loader/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(636);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/inline/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {

__webpack_require__(636);
Expand Down
2 changes: 2 additions & 0 deletions examples/inline/dist/webpack-5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {

__webpack_require__(636);
Expand Down
17 changes: 13 additions & 4 deletions examples/javascript-advanced/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 144:
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

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?");

/***/ }),

/***/ 184:
/***/ ((module) => {

Expand Down Expand Up @@ -63,9 +70,11 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
/******/ })();
/******/
/************************************************************************/
(() => {
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?");
})();

/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ var __webpack_exports__ = __webpack_require__(144);
/******/
/******/ })()
;
2 changes: 2 additions & 0 deletions examples/javascript/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(636);

Expand Down
2 changes: 1 addition & 1 deletion examples/javascript/dist/webpack-5/index.html
Original file line number Diff line number Diff line change
@@ -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">
<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">
2 changes: 2 additions & 0 deletions examples/multi-page/dist/webpack-5/first.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ module.exports = function (list, options) {
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(965);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/multi-page/dist/webpack-5/second.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ module.exports = function (list, options) {
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(965);
var h1 = document.createElement('h1');
Expand Down
2 changes: 2 additions & 0 deletions examples/pug-loader/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ function pug_rethrow(err, filename, lineno, str){
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";

Expand Down
2 changes: 2 additions & 0 deletions examples/sort-manually/dist/webpack-5/a.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__(636);
var h1 = document.createElement('h1');
Expand Down
1 change: 1 addition & 0 deletions examples/sort-manually/dist/webpack-5/b.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'b!';
document.body.appendChild(h1);
Expand Down
1 change: 1 addition & 0 deletions examples/sort-manually/dist/webpack-5/c.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'c!';
document.body.appendChild(h1);
Expand Down
1 change: 1 addition & 0 deletions examples/sort-manually/dist/webpack-5/d.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'd!';
document.body.appendChild(h1);
Expand Down
1 change: 1 addition & 0 deletions examples/sort-manually/dist/webpack-5/e.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'e!';
document.body.appendChild(h1);
Expand Down
1 change: 1 addition & 0 deletions examples/template-parameters/dist/webpack-5/bundle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
var h1 = document.createElement('h1');
h1.innerHTML = 'Hello world!';
document.body.appendChild(h1);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"standard-version": "9.1.0",
"style-loader": "2.0.0",
"typescript": "4.1.3",
"webpack": "^5.20.0",
"webpack": "5.23.0",
"webpack-recompilation-simulator": "3.2.0",
"webpack-cli": "4.2.0"
},
Expand Down

0 comments on commit e5036c8

Please sign in to comment.