fix
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
|
||||
export function declareTest() {
|
||||
// if(import.meta.env.DEV){
|
||||
// globalThis.test = async () => {
|
||||
// const d = await import("./test.js")
|
||||
// return d.test()
|
||||
// }
|
||||
// }
|
||||
if(import.meta.env.DEV){
|
||||
globalThis.test = async () => {
|
||||
const d = await import("./test.js")
|
||||
return d.test()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user