Line2 becomes a weird plane when exporting scene to glb

I am making my own small 3d editor where you can make boxes, spheres and lines and can load some stuff in from a database.

I wanted to be able to make thin and thick lines, for this I decided to use Line2 after some research. But now I am running into the problem where when I export my scene to glb the line becomes a weird plane.

const exporter = new GLTFExporter();

exporter.parse(scene, function(gltf) {
    const output = JSON.stringify(gltf, null, 2);
    const blob = new Blob([output], {type: 'text/plain'})

    downloadElement.href = URL.createObjectURL(blob); = fileName.value + '.glb';;
}, {binary: true});

Could it have to do with a missing export setting?

My custom editor :

Three.js editor :

Let me know if I need to provide more code!

I found the problem, for future people having the same problem:

It sadly isn’t possible to do with Line2, it uses shaders which can’t be exported out of threejs.

I will reply another time to my thread if I find a way of doing this without Line2.