-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* runtime not found errors * remove external warnings * loader update * update asset loader * integration tests * update asset loader * update to 0.5.0-beta.4 * update to 0.5.0-beta.5 * update tests and lockfile
- Loading branch information
1 parent
b5033ed
commit ad69084
Showing
22 changed files
with
747 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const id = 'UNKNOWN'; | ||
if (id.startsWith('./') || id.startsWith('../')) { | ||
const e = new Error('Cannot find module "' + id + '".'); | ||
e.code = 'MODULE_NOT_FOUND'; | ||
throw e; | ||
} | ||
else { | ||
__non_webpack_require__(id); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = function (input, map) { | ||
if (this.cacheable) | ||
this.cacheable(); | ||
const id = this.resourceQuery.substr(1); | ||
input = input.replace('\'UNKNOWN\'', JSON.stringify(id)); | ||
this.callback(null, input, map); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
let {path} = require('@ffmpeg-installer/ffmpeg'); | ||
console.log(path); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require('lighthouse'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const { parse } = require('url') | ||
const PDFParser = require('pdf2json') | ||
|
||
module.exports = (req, res) => { | ||
const { query } = parse(req.url, true) | ||
const { name = 'World' } = query | ||
res.end(`Hello ${name}!`) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ try { | |
throw err; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require('./not-found.js'); | ||
require('./not-foud2.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
module.exports = | ||
/******/ (function(modules, runtime) { // webpackBootstrap | ||
/******/ "use strict"; | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ | ||
/******/ // the startup function | ||
/******/ function startup() { | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(226); | ||
/******/ }; | ||
/******/ | ||
/******/ // run startup | ||
/******/ return startup(); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
|
||
/***/ 226: | ||
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { | ||
|
||
__webpack_require__(590); | ||
__webpack_require__(548); | ||
|
||
/***/ }), | ||
|
||
/***/ 548: | ||
/***/ (function() { | ||
|
||
const id = "./not-foud2.js"; | ||
if (id.startsWith('./') || id.startsWith('../')) { | ||
const e = new Error('Cannot find module "' + id + '".'); | ||
e.code = 'MODULE_NOT_FOUND'; | ||
throw e; | ||
} | ||
else { | ||
eval("require")(id); | ||
} | ||
|
||
|
||
/***/ }), | ||
|
||
/***/ 590: | ||
/***/ (function() { | ||
|
||
const id = "./not-found.js"; | ||
if (id.startsWith('./') || id.startsWith('../')) { | ||
const e = new Error('Cannot find module "' + id + '".'); | ||
e.code = 'MODULE_NOT_FOUND'; | ||
throw e; | ||
} | ||
else { | ||
eval("require")(id); | ||
} | ||
|
||
|
||
/***/ }) | ||
|
||
/******/ }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
module.exports = | ||
/******/ (function(modules, runtime) { // webpackBootstrap | ||
/******/ "use strict"; | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ | ||
/******/ // the startup function | ||
/******/ function startup() { | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(768); | ||
/******/ }; | ||
/******/ | ||
/******/ // run startup | ||
/******/ return startup(); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
|
||
/***/ 663: | ||
/***/ (function() { | ||
|
||
const id = "./not-foud2.js"; | ||
if (id.startsWith('./') || id.startsWith('../')) { | ||
const e = new Error('Cannot find module "' + id + '".'); | ||
e.code = 'MODULE_NOT_FOUND'; | ||
throw e; | ||
} | ||
else { | ||
eval("require")(id); | ||
} | ||
|
||
|
||
/***/ }), | ||
|
||
/***/ 768: | ||
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { | ||
|
||
__webpack_require__(925); | ||
__webpack_require__(663); | ||
|
||
/***/ }), | ||
|
||
/***/ 925: | ||
/***/ (function() { | ||
|
||
const id = "./not-found.js"; | ||
if (id.startsWith('./') || id.startsWith('../')) { | ||
const e = new Error('Cannot find module "' + id + '".'); | ||
e.code = 'MODULE_NOT_FOUND'; | ||
throw e; | ||
} | ||
else { | ||
eval("require")(id); | ||
} | ||
|
||
|
||
/***/ }) | ||
|
||
/******/ }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.