How to enable inline sourcemap for scripts

I am currently bundling custom javascript with inline sourcemaps. I can see the file.

I then load the file in the liquid by

However, when I hit the shopify site, the inline sourcemapping is gone. Here is what the script now looks like within the dev tools

’

How can I tell shopify to keep the inline sourcemapping?

1 Like