Replace without the newline

This commit is contained in:
Tim Schaub
2019-09-26 21:25:58 +02:00
parent 4f44280ec7
commit 3f21bc5265

View File

@@ -14,7 +14,7 @@ async function build(input, {minify = true} = {}) {
if (id !== input) {
return null;
}
return code.replace('export let create;\n', '');
return code.replace('export let create;', '');
}
},
common(),