We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
env
jsc.target
Describe the bug
i'm using swc with @react-dnd, my swc transform options is
{ filename: 'path2dir/@react-dnd/asap/dist/esm/index.mjs', sourceMaps: true, jsc: { transform: { react: [Object], legacyDecorator: true }, externalHelpers: true }, module: { type: 'es6', noInterop: false }, env: { loose: false, targets: [ 'chrome 55' ] } }
i was set config.env first
but @react-dnd/asap also set swcrc by self。
it caused error
`env` and `jsc.target` cannot be used together
Expected behavior
maybe @react-dnd should remove .swcrc file when this package is publishing
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
i'm using swc with @react-dnd, my swc transform options is
i was set config.env first
but @react-dnd/asap also set swcrc by self。
it caused error
Expected behavior
maybe @react-dnd should remove .swcrc file when this package is publishing
The text was updated successfully, but these errors were encountered: