-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unexpected token '*' #13
Comments
Should be the same problem |
Same problem here @blonestar. Would be nice, if you could fix this. It tries to load the css via script. Here are the steps I did:
<script type="text/javascript" src="https://vite.local/wp-content/themes/wp-theme-vite-tailwind/dist/assets/main-cb65a5b9.css?ver=6.2.2" id="main-js"></script> |
For this error on production mode, I fixed it by changing it like below, problem was because it was reading the wrong json value from the manifest file. `// enqueue hook
});` |
Seems like this fix should be merged asap. |
I am getting a console error when running a build. Everything compiles and live reload works as it should in dev, but as soon as I go into production none of the styles compile and I get this console error
Uncaught SyntaxError: Unexpected token '*' (at main-3fb20dfd.css?ver=6.2.2:1:1)
I am on a Windows computer if this makes any difference. Relatively new to all this!
The text was updated successfully, but these errors were encountered: