-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin conflicts with vite-plugin-pwa #13
Comments
Can you provide a code snippet? |
Is the cached resource still being accessed after the vite.config.js file is modified? On my side it is fine when I use vite-plugin-pwa. |
I have stopped using the plugin, but I think the cause was that the plugin didn't actually pick up Something like this: <html>
<head>
<meta content="<%=VITE_THIS_WORKS" />
<%=VITE_THIS_DOES_NOT%>
</head>
<body>
</body>
</html> |
Maybe you can use version 1.2.3, I debugged this version is no problem. <html>
<head>
<meta content="<%= VITE_THIS_WORKS %>" />
</head>
<body>
</body>
</html> |
I'm not sure what the cause is, but I have the feeling that the html file isn't fully written yet by the time the vite-plugin-pwa starts to work on it.
Does it maybe need to await certain processes to finish?
The text was updated successfully, but these errors were encountered: