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
增加babel编译的文件配置 build: { script: { babel: resource => resource.includes(src) || resource.includes(node_modules/some-lib/), }, }, 这个不支持mjs文件,需要自己添加新的rule. 但是使用 @reskript/plugin-experimental中的buildFast插件时没有配置选项,怎么添加swc对mjs类型支持? 这个规则能否直接改成
node_modules/some-lib/
test: /.m?[jt]sx?$/,
这样?
The text was updated successfully, but these errors were encountered:
来看看这个正则对不:/\.[mc]?[jt]sx?$/
/\.[mc]?[jt]sx?$/
Sorry, something went wrong.
No branches or pull requests
增加babel编译的文件配置
build: {
script: {
babel: resource => resource.includes(src) || resource.includes(
node_modules/some-lib/
),},
},
这个不支持mjs文件,需要自己添加新的rule.
但是使用 @reskript/plugin-experimental中的buildFast插件时没有配置选项,怎么添加swc对mjs类型支持?
这个规则能否直接改成
test: /.m?[jt]sx?$/,
这样?
The text was updated successfully, but these errors were encountered: