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

用的是rspack + swc-loader #2

Open
baiyuze opened this issue Aug 27, 2023 · 1 comment
Open

用的是rspack + swc-loader #2

baiyuze opened this issue Aug 27, 2023 · 1 comment

Comments

@baiyuze
Copy link

baiyuze commented Aug 27, 2023

Describe the bug

image

.swcrc

{
    "isModule": true,
    "sourceMaps": true,
    "inlineSourcesContent": true,
    "jsc": {
        "target": "esnext",
        "parser": {
          "syntax": "ecmascript",
          "jsx": true,
          "dynamicImport": true,
          "privateMethod": true,
          "functionBind": true,
          "exportDefaultFrom": true,
          "exportNamespaceFrom": true,
          "decorators": true,
          "decoratorsBeforeExport": true,
          "topLevelAwait": true,
          "importMeta": true
        },
        "experimental": {
          "plugins": [["swc-plugin-transform-vue3-js", {}]]
        }
    }
  }

playground-url

Expected generated code

No response

@chenyulun
Copy link

学习rust自己搞吗?

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

2 participants