chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2026-07-16 09:28:42 +00:00
parent 0638ca32cb
commit cd4a2cec76

View file

@ -31,13 +31,11 @@ const noParse = (a) => a.endsWith('.spec.js');
// Rspack's native SWC transform, so client/sw/sw.js (the only file that
// uses it) keeps going through babel-loader. Everything else uses
// Rspack's built-in SWC loader, which is the main source of the speedup.
const rules = [
{
const rules = [{
test: /sw\/sw\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
},
{
}, {
test: /\.[mc]?js$/,
exclude: [/node_modules/, /sw\/sw\.js$/],
loader: 'builtin:swc-loader',
@ -51,8 +49,7 @@ const rules = [
targets: 'defaults',
},
},
},
];
}];
const plugins = [
new NormalModuleReplacementPlugin(/^node:/, (resource) => {