window in the app.js and then using the @vite directive in the blade. After that didn't work, I tried regisitering the JS file as a Filament asset in my AppServiceProvider, and after regenerating the assets, I couldn't use the library. Uncaught TypeError: The specifier âxlsxâ was a bare specifier, but was not remapped to anything. Relative module specifiers must start with â./â, â../â or â/â.