Unverified Commit 78ce7655 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Enable fast refresh transform when using SWC (#30106)

parent 98134876
...@@ -56,6 +56,7 @@ function getSWCOptions({ ...@@ -56,6 +56,7 @@ function getSWCOptions({
throwIfNamespace: true, throwIfNamespace: true,
development: development, development: development,
useBuiltins: true, useBuiltins: true,
refresh: development && !isServer,
}, },
}, },
} }
......
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