We're using Turbo in a Laravel Mix environment, which uses Webpack 5 in the background.
After importing and setting everything up the logic works fine, expect that the browser outputs an error that the sourcemap cannot be found. What's the best practice around this?
Warning:
Setup:
import * as Turbo from '@hotwired/turbo';
window.Turbo = Turbo
Turbo.start()
@mbardelmeijer Adding .version() resolved this for me; cache busting. Turbo documentation recommends cache busting, so may have something to do with it.
We're using Turbo in a Laravel Mix environment, which uses Webpack 5 in the background.
After importing and setting everything up the logic works fine, expect that the browser outputs an error that the sourcemap cannot be found. What's the best practice around this?
Warning:
Setup: