Broken GFF data because of vite issue
etowahadams opened this issue · comments
Another story of "works locally, but not when deployed"
https://gosling.js.org/?example=doc_gff
I noticed the GFF data fetcher example wasn't working in the deployed version but it was working locally. There's this error when yarn build-editor
is run
node_modules/lodash-es/_asciiToArray.js'emitter' is imported by emitter?commonjs-external, but could not be resolved – treating it as an external dependency
No name was provided for external module 'emitter' in output.globals – guessing 'require$$0'
This results in the following error in the editor for a track with gff data:
Appears to be the same issue discussed here vitejs/vite#6586
Things I'm going to look into
- Try bumping vite version
- Create an alias for the emitter
cc: @sehilyi