fix: attribute spacing

This commit is contained in:
cha0s 2024-02-18 09:53:46 -06:00
parent 5a75b28471
commit 7267b6da5d

View File

@ -24,7 +24,7 @@ class InlineConfig extends Transform {
async _flush(done) { async _flush(done) {
const string = Buffer.concat(this.buffers).toString(); const string = Buffer.concat(this.buffers).toString();
const {appMountId} = this.flecks.get('@flecks/web'); const {appMountId} = this.flecks.get('@flecks/web');
const hideAttributes = 'production' === NODE_ENV ? 'data-flecks="ignore"' : ''; const hideAttributes = 'production' === NODE_ENV ? ' data-flecks="ignore"' : '';
this.push( this.push(
string.replaceAll( string.replaceAll(
'<body>', '<body>',