1 thought on “Got error when using require.context

  1. require.context(path.join(ROOT, “src/pages”),

    You can’t use an expression as first argument to require.context. It must be a compile-time constant string.

Comments are closed.