webpack require.context('./url', false, /\.ts/) 此时会报错 Vite import.meta.globEager('./url/*.ts') 在Vite中深度匹配时候 没有true选项 可以目录路径中带上 ** 在进行匹配