*Machine translation from Japanese to English at DeepL.
459
572
I came up with a solution to the above Issue and PR.
Use pug-lexer to extract the line with the extends syntax and move it to the top line.
This will work even with comments and prependData.
I think it needs to be tested, but I have not written it because I do not know how to write it correctly.
I would appreciate it if you could add it to this PR or create it separately.
*Machine translation from Japanese to English at DeepL.
459
572
I came up with a solution to the above Issue and PR. Use
pug-lexer
to extract the line with the extends syntax and move it to the top line. This will work even with comments andprependData
.I think it needs to be tested, but I have not written it because I do not know how to write it correctly. I would appreciate it if you could add it to this PR or create it separately.
Tests
npm test
orpnpm test