vite-plugin-mock
vite-plugin-mock copied to clipboard
warning: "import.meta" is not available in the configured target environment ("es2015") and will be empty
warning: "import.meta" is not available in the configured target environment ("es2015") and will be empty
async function resolveModule(p: string): Promise
there is a same 'warning',is any resolution?
there is a same 'warning', resolusion?
就是就是,不知道咋解决
在 vite.config.ts 中构建一个全局声明,再在 define 中引入 所需要的值就正常了
encounter same problem
It's 2023. Is there a solution?🤔
It's 2023. Is there a solution?
https://www.jianshu.com/p/8ce94077af2a
It's 2023. Is there a solution?
It's 2024. Is there a solution?