Closed TheElegantCoding closed 3 months ago
I'll take a look. Thank you.
Critters has an option for this, you can pass publicPath
as a string that will be remove from the original path, just need to add this option in the plugin for these cases
Does it work if you pass it in the integration's options? You can override them like this:
export default {
integrations: [
(await import("@playform/inline")).default({
Critters: { publicPath: "https://yoururl.com" },
}),
],
};
yeah that works, didn't know that you can override the critters options, is not as an example in the readme
if you have a build that puts a url in front of the css, this is the
assetsPrefix
option in astro, you will have this differenceand when you have a prefix with the url or domain dont works well, and don't inline nothing