File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/integration-tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
"include" : [" ./**/*" ],
5
5
"compilerOptions" : {
6
6
"esModuleInterop" : true ,
7
+ "skipLibCheck" : true ,
7
8
"types" : [" node" , " jest" ]
8
9
}
9
10
}
Original file line number Diff line number Diff line change 1
1
import * as vite from "vite" ;
2
- import * as vite6 from "vite6" ;
3
2
import * as path from "path" ;
4
3
import * as rollup from "rollup" ;
5
- import * as rollup4 from "rollup4" ;
6
4
import { default as webpack4 } from "webpack4" ;
7
5
import { webpack as webpack5 } from "webpack5" ;
8
6
import * as esbuild from "esbuild" ;
@@ -40,7 +38,8 @@ export function createCjsBundles(
40
38
} ) ;
41
39
}
42
40
43
- if ( plugins . length === 0 || plugins . includes ( "vite6" ) ) {
41
+ if ( NODE_MAJOR_VERSION >= 18 && plugins . length === 0 || plugins . includes ( "vite6" ) ) {
42
+ const vite6 = require ( "vite6" ) ;
44
43
void vite6 . build ( {
45
44
clearScreen : false ,
46
45
build : {
@@ -75,6 +74,7 @@ export function createCjsBundles(
75
74
}
76
75
77
76
if ( ( NODE_MAJOR_VERSION >= 18 && plugins . length === 0 ) || plugins . includes ( "rollup4" ) ) {
77
+ const rollup4 = require ( "rollup4" ) ;
78
78
void rollup4
79
79
. rollup ( {
80
80
input : entrypoints ,
You can’t perform that action at this time.
0 commit comments