File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ import './require-polyfill'
1
2
import '@vitejs/test-dep-that-imports'
2
3
import '@vitejs/test-dep-that-requires'
Original file line number Diff line number Diff line change
1
+ import * as vue from 'vue'
2
+ import slash3 from 'slash3'
3
+ globalThis . require = ( dep ) => {
4
+ if ( dep === 'vue' ) return vue
5
+ if ( dep === 'slash3' ) return slash3
6
+ throw new Error ( `Cannot require "${ dep } "` )
7
+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export default defineConfig({
17
17
'./playground/legacy/**/*.spec.[tj]s' , // system format
18
18
...( isBuild
19
19
? [
20
- './playground/external/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2041
21
20
'./playground/object-hooks/**/*.spec.[tj]s' , // object hook sequential
22
21
'./playground/optimize-deps/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2031
23
22
'./playground/tsconfig-json/__tests__/**/*.spec.[tj]s' , // decorators is not supported by oxc
You can’t perform that action at this time.
0 commit comments