Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(webpack): add global to new line (#8226)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 16, 2022
1 parent 0cfc5a2 commit 5bf4461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack/src/plugins/dynamic-base.ts
Expand Up @@ -21,7 +21,7 @@ export const DynamicBasePlugin = createUnplugin((options: DynamicBasePluginOptio
return
}
const s = new MagicString(code)
s.append(`${options.globalPublicPath} = buildAssetsURL();\n`)
s.append(`\n${options.globalPublicPath} = buildAssetsURL();\n`)
return {
code: s.toString(),
map: options.sourcemap
Expand Down

0 comments on commit 5bf4461

Please sign in to comment.