I try to inline javascript but run into the 256 kB limit of the theme.liquid template.
Is it possible to overrun this limit? How?
I try to inline javascript but run into the 256 kB limit of the theme.liquid template.
Is it possible to overrun this limit? How?
You can’t.
I have a client where the css is inlined, to handle this I setup a build process to split the file in half into two seperate snippets.
You could take this same approach with JS, however, it’s possible the JS will break if you just split it right in half, so you will have to be careful.
could you post some documentation where I can read more about this limit?
There isn’t any official shopify documentation I could find.