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
// 这是webpack配置里面的 test: /.[jt]sx?$/, use: [ { loader: 'babel-loader', }, { loader: 'swc-loader', options: { parseMap: true, }, // options: swcConfig(), },
// 这是babelrc里面的 [ "babel-plugin-react-scoped-css", { "include": ".(le|c)ss$" } ],
// 结果是: css类名加了[data-v-dqw21421], 但是div元素上面没有加
The text was updated successfully, but these errors were encountered:
请问下这个问题解决了吗 如果解决了是如何解决的呢
Sorry, something went wrong.
这个解决不了,因为这个针对的是css文件,如果是jsx文件的话太灵活了,解析不了
No branches or pull requests
// 这是webpack配置里面的
test: /.[jt]sx?$/,
use: [
{
loader: 'babel-loader',
},
{
loader: 'swc-loader',
options: {
parseMap: true,
},
// options: swcConfig(),
},
// 这是babelrc里面的
[
"babel-plugin-react-scoped-css",
{
"include": ".(le|c)ss$"
}
],
// 结果是: css类名加了[data-v-dqw21421], 但是div元素上面没有加
The text was updated successfully, but these errors were encountered: