We’ve built a Tauri app using CodeMirror, with Vite as bundler. I’d like to add some non-CodeMirror features using Brython (browser Python). But when I mix the projects, Vite complains: ‘the function x already defined’ for cases like:
Function x(){}
//Some code here
Function x(){
//Function body
}
Are there other bundlers that work well with CodeMirror but might avoid the above issue?
Or, perhaps it’s a configuration issue or can be fixed with a wrapper of some sort?