Build: Remove an extra new line in UMD bundle (#12467)
This commit is contained in:
1 parent
9a070503a3
commit
4cae7e15a7
1 file changed
+3
-4
@@ -118,10 +118,9 @@ export default function esbuildPluginUmd({ name }) {
|
||||
fs.writeFileSync(
|
||||
outfile,
|
||||
intro +
|
||||
text.slice(
|
||||
expectedOutput.start.length,
|
||||
-expectedOutput.end.length
|
||||
) +
|
||||
text
|
||||
.slice(expectedOutput.start.length, -expectedOutput.end.length)
|
||||
.trimEnd() +
|
||||
outro
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user