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 44 "include" : [" ./**/*" ],
55 "compilerOptions" : {
66 "esModuleInterop" : true ,
7+ "skipLibCheck" : true ,
78 "types" : [" node" , " jest" ]
89 }
910}
Original file line number Diff line number Diff line change 11import * as vite from "vite" ;
2- import * as vite6 from "vite6" ;
32import * as path from "path" ;
43import * as rollup from "rollup" ;
5- import * as rollup4 from "rollup4" ;
64import { default as webpack4 } from "webpack4" ;
75import { webpack as webpack5 } from "webpack5" ;
86import * as esbuild from "esbuild" ;
@@ -40,7 +38,8 @@ export function createCjsBundles(
4038 } ) ;
4139 }
4240
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" ) ;
4443 void vite6 . build ( {
4544 clearScreen : false ,
4645 build : {
@@ -75,6 +74,7 @@ export function createCjsBundles(
7574 }
7675
7776 if ( ( NODE_MAJOR_VERSION >= 18 && plugins . length === 0 ) || plugins . includes ( "rollup4" ) ) {
77+ const rollup4 = require ( "rollup4" ) ;
7878 void rollup4
7979 . rollup ( {
8080 input : entrypoints ,
You can’t perform that action at this time.
0 commit comments