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'
12import '@vitejs/test-dep-that-imports'
23import '@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({
1717 './playground/legacy/**/*.spec.[tj]s' , // system format
1818 ...( isBuild
1919 ? [
20- './playground/external/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2041
2120 './playground/object-hooks/**/*.spec.[tj]s' , // object hook sequential
2221 './playground/optimize-deps/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2031
2322 './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