I have this strange console log error that doesn't actually cause any bugs
Uncaught ReferenceError: u is not defined
at l (7b8f9447-b336-4083-979e-89aff4ffdd52:1)
at 7b8f9447-b336-4083-979e-89aff4ffdd52:1
l @ 7b8f9447-b336-4083-979e-89aff4ffdd52:1
(anonymous) @ 7b8f9447-b336-4083-979e-89aff4ffdd52:1
in my Rails app package.json file, mux is listed as one of the dependancies
"@mux/videojs-kit": "^0.5.0",
it is loaded in application.js like so:
import '@mux/videojs-kit/dist/index.css';
however, because of the way webpack works, it doesn't seem to load up the CSS this way (only the JS) when deployed to a non-development environment,
so I had to manually import the CSS from the CDN into my app into vendor/assets/stylesheet/mux_video_js.css and then manually imported that through SCSS processor:
@import 'mux_video_js';
this appears to work
However, I get the console error:
Obviously this is obfuscated so I'm not sure what it means.
Can someone direct me on how to get to the sourcemaps so that I might debug the line of code (I'm guessing it is in video-js or this gem) where this is coming from?
I have this strange console log error that doesn't actually cause any bugs
in my Rails app package.json file, mux is listed as one of the
dependancies
"@mux/videojs-kit": "^0.5.0",it is loaded in
application.js
like so:however, because of the way webpack works, it doesn't seem to load up the CSS this way (only the JS) when deployed to a non-development environment,
so I had to manually import the CSS from the CDN into my app into vendor/assets/stylesheet/mux_video_js.css and then manually imported that through SCSS processor:
this appears to work
However, I get the console error:
Obviously this is obfuscated so I'm not sure what it means.
Can someone direct me on how to get to the sourcemaps so that I might debug the line of code (I'm guessing it is in video-js or this gem) where this is coming from?