Skip to content

Commit

Permalink
Export build time not found packages on runtime
Browse files Browse the repository at this point in the history
Exporting eval results
  • Loading branch information
legendecas committed Mar 16, 2020
1 parent 818848c commit 8f3345e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/@@notfound.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__non_webpack_require__('UNKNOWN');
module.exports = __non_webpack_require__('UNKNOWN');
8 changes: 4 additions & 4 deletions test/unit/runtime-notfound/output-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ __webpack_require__(497);
/***/ }),

/***/ 464:
/***/ (function() {
/***/ (function(module) {

eval("require")("./not-found.js");
module.exports = eval("require")("./not-found.js");


/***/ }),

/***/ 497:
/***/ (function() {
/***/ (function(module) {

eval("require")("./not-foud2.js");
module.exports = eval("require")("./not-foud2.js");


/***/ })
Expand Down
8 changes: 4 additions & 4 deletions test/unit/runtime-notfound/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ __webpack_require__(695);
/***/ }),

/***/ 367:
/***/ (function() {
/***/ (function(module) {

eval("require")("./not-found.js");
module.exports = eval("require")("./not-found.js");


/***/ }),

/***/ 695:
/***/ (function() {
/***/ (function(module) {

eval("require")("./not-foud2.js");
module.exports = eval("require")("./not-foud2.js");


/***/ })
Expand Down

0 comments on commit 8f3345e

Please sign in to comment.