Skip to content

Commit 37f3fd0

Browse files
fix: missing lines
1 parent ac99376 commit 37f3fd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extension/lib/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ const targetFile = path.join(__dirname, 'dist', 'forge.mjs');
5353
console.log('Reading forge.js...');
5454
let content = fs.readFileSync(sourceFile, 'utf8');
5555

56+
// Split content into lines
57+
const lines = content.split('\n');
58+
5659
// Find where the webpack bundle starts
5760
// It starts with the webpack bootstrap function
5861
let startLine = lines.findIndex(line => line.includes('/******/ (function(modules) { // webpackBootstrap'));

0 commit comments

Comments
 (0)