Hello!
That sounds to be a chache issue, if you have a cache/minify/optimize plugin please disable it or refresh its cache.
Regards!
Ah good call, I’m using litespeed cache with js minification enabled. It looks like it was minifying your already minified assets in the dist folder. If I exclude RNMain from minification the errors go away.
Isn’t the convention to name minified assets with .min in their filenames? I’m wondering if litespeed uses this to determine whether to minify the file. Your minified assets don’t include .min
-
This reply was modified 2 years, 9 months ago by
joncon62.
Sorry i am not sure how litespeed works so i can’t tell, perhaps you can ask this in their support portal? If renaming the files would help with litespeed i can rename the files on a future update.
Regards!
I asked Litespeed how they determine if files need minifying and they confirmed it is by filename, so minified files should have .min in the filename. Here is their full answer.
yes, by default it takes all , except that has .min. in name , and certain attribute like data-no-optimize or data-cfasync will also bypass
I’m sure other optimising plugins do similar so renaming the minified files (js and css) would be good for compatibility.