fix: 修复
This commit is contained in:
parent
ed7ff945d3
commit
4b2555de4a
|
@ -47,7 +47,7 @@ export const createDynamic = (basePath: string) => {
|
||||||
return (path: string) =>
|
return (path: string) =>
|
||||||
import(
|
import(
|
||||||
new URL(
|
new URL(
|
||||||
`${path}${process.env.NODE_ENV == 'NODE_ENV' ? '' : now()}`,
|
`${path}${process.env.NODE_ENV == 'production' ? '' : now()}`,
|
||||||
basePath
|
basePath
|
||||||
).href
|
).href
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue