Skip to content
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

升级 rsbuild 到 0.7.x #8

Open
sorrycc opened this issue May 30, 2024 · 0 comments
Open

升级 rsbuild 到 0.7.x #8

sorrycc opened this issue May 30, 2024 · 0 comments

Comments

@sorrycc
Copy link
Member

sorrycc commented May 30, 2024

没升上去,因为遇到问题如下:

start   Compiling...
error   Compile error:
Failed to compile, check the errors for troubleshooting.
File: /Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:1:1
  × Module build failed:
  ├─▶   ×
  │     │   x Expression expected
  │     │     ,-[/Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:21:1]
  │     │  21 |     }
  │     │  22 | }, [EFFECT_PROPS]);
  │     │  23 |
  │     │  24 |     return <>
  │     │     :             ^
  │     │  25 |         <g transform="translate(0 -2.16)   scale(0.5 0.5)">
  │     │  26 |             <A style={style} />
  │     │  27 |         </g>
  │     │     `----
  │     │
  │     │   x Expected '>', got 'transform'
  │     │     ,-[/Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:22:1]
  │     │  22 | }, [EFFECT_PROPS]);
  │     │  23 |
  │     │  24 |     return <>
  │     │  25 |         <g transform="translate(0 -2.16)   scale(0.5 0.5)">
  │     │     :            ^^^^^^^^^
  │     │  26 |             <A style={style} />
  │     │  27 |         </g>
  │     │  28 |         <g transform="translate(-2.5 2.16) scale(0.5 0.5)">
  │     │     `----
  │     │
  │
  ╰─▶ Syntax Error
  help: File was processed with this loader: 'builtin:swc-loader??ruleSet[1].rules[2].use[0]'
@sorrycc sorrycc changed the title 升级 rsbuild 到 0.7 升级 rsbuild 到 0.7.x May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant