File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "test:benchmark" : " cd ./tests && pnpm run test:benchmark" ,
2121 "test:e2e" : " pnpm run build:examples && cd tests && pnpm run test:e2e" ,
2222 "test:ecosystem-ci" : " pnpm run test:unit && cross-env ECO_CI=1 pnpm run test:integration && pnpm run test:e2e" ,
23- "test:integration" : " rstest run --project integration" ,
24- "test:integration:exe" : " rstest run --project integration-exe" ,
25- "test:unit" : " rstest run --project unit*" ,
23+ "test:integration" : " rstest --project integration" ,
24+ "test:integration:exe" : " rstest --project integration-exe" ,
25+ "test:unit" : " rstest --project unit*" ,
2626 "testu" : " pnpm run test:unit -u && pnpm run test:integration -u" ,
2727 "type-check" : " pnpm -r run type-check" ,
2828 "update:rsbuild" : " npx taze minor --include /rsbuild/ -w -r -l" ,
Original file line number Diff line number Diff line change @@ -285,7 +285,8 @@ export const pitch: Rspack.LoaderDefinition['pitch'] = function (
285285 m . set ( distFilepath , `${ m . get ( distFilepath ) } \n${ sourceMappingURL } ` ) ;
286286 }
287287 }
288- for ( let [ distFilepath , content ] of m . entries ( ) ) {
288+ for ( const [ distFilepath , initialContent ] of m . entries ( ) ) {
289+ let content = initialContent ;
289290 // add banner and footer to css files in bundleless mode
290291 if ( banner ) {
291292 content = `${ banner } \n${ content } ` ;
Original file line number Diff line number Diff line change @@ -9,18 +9,8 @@ export default defineConfig([
99 } ,
1010 } ,
1111 rules : {
12- '@typescript-eslint/no-unused-vars' : [
13- 'error' ,
14- { argsIgnorePattern : '^_' , varsIgnorePattern : '^_' } ,
15- ] ,
1612 '@typescript-eslint/ban-ts-comment' : 'off' ,
1713 '@typescript-eslint/no-explicit-any' : 'off' ,
18- 'prefer-const' : [
19- 'error' ,
20- {
21- destructuring : 'all' ,
22- } ,
23- ] ,
2414 } ,
2515 } ,
2616] ) ;
You can’t perform that action at this time.
0 commit comments