Function next_middleware_dynamic

Source
pub fn next_middleware_dynamic() -> MiddlewareDynamic
Expand description

Replaces call / expr to dynamic evaluation in the give code to wrapped expression (next_eval, next_webassembly_compile,..) to raise corresponding error.

This transform is specific to edge runtime which are not allowed to call certain dynamic evaluation (eval, webassembly.instantiate, etc)

check middleware-plugin for corresponding webpack side transform.