You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had problem to load sourcemap with compiled files. Problem was that files are generated with first line empty.
I made small change in compiler.php on line 163:
From: // load content $content = ''; foreach ($files as $file) { $content .= PHP_EOL . $this->loadFile($file); }
To: // load content $content = ''; foreach ($files as $file) { if ($content !== '') { $content .= PHP_EOL; } $content .= $this->loadFile($file); }
The text was updated successfully, but these errors were encountered:
Hallo,
I had problem to load sourcemap with compiled files. Problem was that files are generated with first line empty.
I made small change in compiler.php on line 163:
From:
// load content $content = ''; foreach ($files as $file) { $content .= PHP_EOL . $this->loadFile($file); }
To:
// load content $content = ''; foreach ($files as $file) { if ($content !== '') { $content .= PHP_EOL; } $content .= $this->loadFile($file); }
The text was updated successfully, but these errors were encountered: