[cli][dev][node] Support matchers config for Middleware in vc dev (#8033)

Adds support for `config.matchers` exported property in Middleware during `vc dev`.
This commit is contained in:
Nathan Rajlich
2022-06-28 01:34:48 -07:00
committed by GitHub
parent e42fe34c4a
commit 0e35205bf1
4 changed files with 52 additions and 1 deletions

View File

@@ -1430,6 +1430,7 @@ export default class DevServer {
meta: {
isDev: true,
devCacheDir,
requestUrl: req.url,
env: { ...envConfigs.runEnv },
buildEnv: { ...envConfigs.buildEnv },
},