Open aysuqi opened 1 year ago
报警内容:warning: "import.meta" is not available in the configured target environment ("es2015") and will be empty const modules = import.meta.glob('./modules/*/.ts', {}
项目中的代码: const modules = import.meta.glob('./modules/*/.ts', { import: 'default', eager: true, })
报警内容:warning: "import.meta" is not available in the configured target environment ("es2015") and will be empty const modules = import.meta.glob('./modules/*/.ts', {}
项目中的代码: const modules = import.meta.glob('./modules/*/.ts', { import: 'default', eager: true, })