We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eval
1 parent 71f7bcd commit 948165dCopy full SHA for 948165d
packages/server/src/util.js
@@ -13,8 +13,8 @@ export const smartRequire = modulePath => {
13
return __non_webpack_require__(modulePath)
14
}
15
16
- // eslint-disable-next-line global-require, import/no-dynamic-require
17
- return require(modulePath)
+ // eslint-disable-next-line global-require, import/no-dynamic-require, no-eval
+ return eval('module.require')(modulePath)
18
19
20
export const joinURLPath = (...paths) => {
0 commit comments