WIP: Rolldown build #148
ci.yml
on: pull_request
Get changed files
4s
Lint: node-20, ubuntu-latest
47s
Matrix: test
Annotations
59 errors and 2 warnings
Lint: node-20, ubuntu-latest:
packages/vite/rollup.dts.config.ts#L104
Unexpected constant condition
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L7
Imports "BuildOptions" are only used as type
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L7
Member 'BuildOptions' of the import declaration should be sorted alphabetically
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L13
All imports in the declaration are only used as types. Use `import type`
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L13
`rolldown` import should occur before import of `./constants`
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/optimizer/rolldownDepPlugin.ts#L2
Member 'ImportKind' of the import declaration should be sorted alphabetically
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/optimizer/scan.ts#L45
Capturing group number 1 is defined but never used
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/plugins/reporter.ts#L120
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
Lint: node-20, ubuntu-latest
Process completed with exit code 1.
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when css changes for dynamic entries:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:55:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when pure css chunk changes:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:103:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build:
packages/vite/src/node/__tests__/build.spec.ts#L107
TypeError: (intermediate value) is not iterable
❯ packages/vite/src/node/__tests__/build.spec.ts:107:25
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options:
packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions:
packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality
Expected: "my-lib.umd.js"
Received: "my-lib.umd.cjs"
❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry:
packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when css changes for dynamic entries:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:55:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when pure css chunk changes:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:103:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build:
packages/vite/src/node/__tests__/build.spec.ts#L107
TypeError: (intermediate value) is not iterable
❯ packages/vite/src/node/__tests__/build.spec.ts:107:25
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options:
packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions:
packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality
Expected: "my-lib.umd.js"
Received: "my-lib.umd.cjs"
❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry:
packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when css changes for dynamic entries:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:55:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when pure css chunk changes:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:103:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build:
packages/vite/src/node/__tests__/build.spec.ts#L107
TypeError: (intermediate value) is not iterable
❯ packages/vite/src/node/__tests__/build.spec.ts:107:25
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options:
packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions:
packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality
Expected: "my-lib.umd.js"
Received: "my-lib.umd.cjs"
❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry:
packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when css changes for dynamic entries:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:55:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when pure css chunk changes:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:103:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build:
packages/vite/src/node/__tests__/build.spec.ts#L107
TypeError: (intermediate value) is not iterable
❯ packages/vite/src/node/__tests__/build.spec.ts:107:25
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options:
packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions:
packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality
Expected: "my-lib.umd.js"
Received: "my-lib.umd.cjs"
❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry:
packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when css changes for dynamic entries:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:55:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > file hash should change when pure css chunk changes:
packages/vite/src/node/__tests__/build.spec.ts#L589
TypeError: output1.output is not iterable
❯ assertOutputHashContentChange packages/vite/src/node/__tests__/build.spec.ts:589:31
❯ packages/vite/src/node/__tests__/build.spec.ts:103:5
|
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build:
packages/vite/src/node/__tests__/build.spec.ts#L107
TypeError: (intermediate value) is not iterable
❯ packages/vite/src/node/__tests__/build.spec.ts:107:25
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options:
packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format:
packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format:
packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error
- Expected:
null
+ Received:
undefined
❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
|
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions:
packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality
Expected: "my-lib.umd.js"
Received: "my-lib.umd.cjs"
❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
|
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry:
packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ]
- Expected
+ Received
Array [
Object {
"format": "es",
},
- Object {
- "format": "umd",
- },
]
❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L294
'bundle' is never reassigned. Use 'const' instead
|
Lint: node-20, ubuntu-latest:
packages/vite/src/node/cli.ts#L309
'logger' is never reassigned. Use 'const' instead
|