Unverified Commit 1574d39e authored by Jimmy Miller's avatar Jimmy Miller Committed by GitHub

Add version for loaders api (#98377)

I looked into it. This is webpack's current version and the apis we are
approximating.
parent 2994f6be
......@@ -183,6 +183,7 @@ const transform = (
{
resource: resource + query,
context: {
version: 2,
_module: {
// For debugging purpose, if someone find context is not full compatible to
// webpack they can guess this comes from turbopack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment