-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
compatibility problem: __uno.css:9 Uncaught SyntaxError: Unexpected reserved word #1461
Comments
Can you try with the latest Chrome? |
@antfu yes, is work in chrome but not in Sogou Browser |
Maybe it's because the browser does not support top-level await? Any reason to use it over Chrome for development? |
I development was used chorme, but also need to debug at other browser to fix other style compatibility problem, so :( |
Chrome is recommended for development, and compatibility should be tested in build mode |
If you are developing on dingtalk enviroment, you should upgrade you dingtalk debugg tool |
We optimized it on #2066 , you can try it. unocss/packages/vite/src/types.ts Lines 40 to 50 in 65dc7a4
|
maybe is a compatibility problem?
browser: Sogou Browser
version: 11.0.1.34700
example project: https://github.com/JiatLn/vvtt
when run
npm run dev
, the page is empty and throw error__uno.css:9 Uncaught SyntaxError: Unexpected reserved word
on console following:
The text was updated successfully, but these errors were encountered: