I try to rebuild the js from the ts but get an error
zhao414 opened this issue · comments
And I try to change this line into:
![image](https://private-user-images.githubusercontent.com/15528506/269286968-a58f9a29-8417-4d9e-a596-cc15b92386bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2Mzg5MjAsIm5iZiI6MTcyNDYzODYyMCwicGF0aCI6Ii8xNTUyODUwNi8yNjkyODY5NjgtYTU4ZjlhMjktODQxNy00ZDllLWE1OTYtY2MxNWI5MjM4NmJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDAyMTcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEwYjg5NDA2ZTk4ODU5ZjFjM2Q5ZmEzOWNkNDI4OWFmMGU0MDk1MWEyMDhjODlhMzhjZDM0ZDEzMTE4OWNmYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._g6Lsnq4Xpy_Rg9-wlUyv8O5sikIzs_J8I5hfYBQzbM)
the vscode does not bring any error message.
However, when this new js is loaded by Obsidian, the plugin does not run, and the obsidian returns a different error message:
![image](https://private-user-images.githubusercontent.com/15528506/269287361-6163fbe9-2512-437b-ba7f-fe2a1d0c2778.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2Mzg5MjAsIm5iZiI6MTcyNDYzODYyMCwicGF0aCI6Ii8xNTUyODUwNi8yNjkyODczNjEtNjE2M2ZiZTktMjUxMi00MzdiLWJhN2YtZmUyYTFkMGMyNzc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDAyMTcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiNTliZmQwMWRmZWI1MGNiNDU3M2JhZTFiNDI2N2MwYWNlMTU1OThkNmNkMTg0NTA1YTViMDg2OWZlYmMxOGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1c2ERxnQKbn0RzHBGlQ9Se8OkTcFabaeXtZYpVMUQfA)
it points to this line:
tokenizers: [descendant, unitToken, identifiers, 1, 2, 3, 4, new import_lr.LocalTokenGroup("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~", 28, 102)],
I don't know what it is and where is it.
Could you please have a look at the source code?