mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix windows issues
This commit is contained in:
parent
4b831fbd8d
commit
55f25aa884
@ -13,7 +13,7 @@ interface Import {
|
||||
}
|
||||
|
||||
const TMPL_INLINE = ({ imports }: { imports: Import[]}) =>
|
||||
`${imports.map(i => `import ${i.name} from '${i.import}'`).join('\n')}
|
||||
`${imports.map(i => `import ${i.name} from '${i.import.replace(/\\/g, '/')}'`).join('\n')}
|
||||
const dynamicChunks = {
|
||||
${imports.map(i => ` ['${i.id}']: ${i.name}`).join(',\n')}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user