Hi!
This is more like a webpack/vite/whatever question. Which budler do you use?
Here is an example with webpack. This one has no issues:
grl-import-test.zip (2.8 MB)
OR maybe you are after this:
based on this question by you: Missing side effect for CreateLineSystrem - #8 by axeljaeger