next.js/test/e2e/app-dir/webpack-loader-errors/loaders/string-error-loader.js
string-error-loader.js6 lines247 B
module.exports = function stringErrorLoader(source) {
  // Intentionally throwing a string (not an Error object) to test string error handling
  // eslint-disable-next-line no-throw-literal
  throw 'A string error thrown by string-error-loader'
}
Quest for Codev2.0.0
/
SIGN IN