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
mac os "@rsbuild/core": "^0.3.2", "@rsbuild/plugin-babel": "^0.3.3", "@rsbuild/plugin-vue2": "^0.3.2", "@rsbuild/plugin-vue2-jsx": "^0.3.3",
rspack: { module: { rules: [ { resourceQuery: /blockType=i18n/, use: ['@xxxx/vue-i18n-loader'], // 内部的 loader type: 'javascript/auto', }, { test: /.csv$/, use: ['@xxxx/i18n-csv-loader'], // 内部的 loader type: 'javascript/auto', }, ], }, },
然后执行的时候 i18n-csv-loader 能够执行 但是经过 i18n-csv-loader 转换后的资源'@/i18n/csv/common/component.csv?vue&type=custom&index=0&blockType=i18n&issuerPath'却不会被'@xxxx/vue-i18n-loader'匹配上
none
The text was updated successfully, but these errors were encountered:
Hello @gzzhengbingyi. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️
Sorry, something went wrong.
你好,由于缺少复现方式,我们很难帮你定位问题。从当前提供的信息来看,属于自定义的 loader 配置问题,建议你到 Rspack 仓库新建一个 issue 并提供复现方式
No branches or pull requests
Version
Details
rspack: {
module: {
rules: [
{
resourceQuery: /blockType=i18n/,
use: ['@xxxx/vue-i18n-loader'], // 内部的 loader
type: 'javascript/auto',
},
{
test: /.csv$/,
use: ['@xxxx/i18n-csv-loader'], // 内部的 loader
type: 'javascript/auto',
},
],
},
},
然后执行的时候 i18n-csv-loader 能够执行
但是经过 i18n-csv-loader 转换后的资源'@/i18n/csv/common/component.csv?vue&type=custom&index=0&blockType=i18n&issuerPath'却不会被'@xxxx/vue-i18n-loader'匹配上
Reproduce link
none
Reproduce Steps
none
The text was updated successfully, but these errors were encountered: