I have set my external modules to be this:
export default {
// ...
external = id =>
(id[0] !== '.' && !nodePath.isAbsolute(id) && id !== `@routes`)
// ...
}
When I run the app, I get this error.
Error: Cannot find module 'globfile?YOPPydNxoo'
Thrown by this line of code:
var routes = _interopDefault(require('globfile?YOPPydNxoo'));