feat: use @rollup/plugin-replace to replace define variables #12
ci.yml
on: pull_request
Lint: node-18, ubuntu-latest
52s
Matrix: test
Annotations
50 errors
Lint: node-18, ubuntu-latest
Could not find a declaration file for module '@rollup/pluginutils'. '/home/runner/work/vite/vite/node_modules/.pnpm/@rollup[email protected][email protected]/node_modules/@rollup/pluginutils/dist/es/index.js' implicitly has an 'any' type.
|
Lint: node-18, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Lint: node-18, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Lint: node-18, ubuntu-latest
Type '{ esbuildOptions: any; disabled: "build"; }' is not assignable to type 'DepOptimizationOptions'.
|
Lint: node-18, ubuntu-latest
Property 'esbuildOptions' does not exist on type '{}'.
|
Lint: node-18, ubuntu-latest
'ESBUILD_MODULES_TARGET' is declared but its value is never read.
|
Lint: node-18, ubuntu-latest
'Rollup' is declared but its value is never read.
|
Lint: node-18, ubuntu-latest
'definePlugin' is declared but its value is never read.
|
Lint: node-18, ubuntu-latest
'esbuildOutputFromId' is declared but its value is never read.
|
Lint: node-18, ubuntu-latest
Property 'rollupOptions' is missing in type '{ esbuildOptions: any; disabled: true; }' but required in type 'DepOptimizationConfig'.
|
Build&Test: node-18, ubuntu-latest
Could not find a declaration file for module '@rollup/pluginutils'. '/home/runner/work/vite/vite/node_modules/.pnpm/@rollup[email protected][email protected]/node_modules/@rollup/pluginutils/dist/es/index.js' implicitly has an 'any' type.
|
Build&Test: node-18, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-18, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-18, ubuntu-latest
Type '{ esbuildOptions: any; disabled: "build"; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-18, ubuntu-latest
Property 'esbuildOptions' does not exist on type '{}'.
|
Build&Test: node-18, ubuntu-latest
'ESBUILD_MODULES_TARGET' is declared but its value is never read.
|
Build&Test: node-18, ubuntu-latest
'Rollup' is declared but its value is never read.
|
Build&Test: node-18, ubuntu-latest
'definePlugin' is declared but its value is never read.
|
Build&Test: node-18, ubuntu-latest
'esbuildOutputFromId' is declared but its value is never read.
|
Build&Test: node-18, ubuntu-latest
Property 'rollupOptions' is missing in type '{ esbuildOptions: any; disabled: true; }' but required in type 'DepOptimizationConfig'.
|
Build&Test: node-20, ubuntu-latest
Could not find a declaration file for module '@rollup/pluginutils'. '/home/runner/work/vite/vite/node_modules/.pnpm/@rollup[email protected][email protected]/node_modules/@rollup/pluginutils/dist/es/index.js' implicitly has an 'any' type.
|
Build&Test: node-20, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, ubuntu-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, ubuntu-latest
Type '{ esbuildOptions: any; disabled: "build"; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, ubuntu-latest
Property 'esbuildOptions' does not exist on type '{}'.
|
Build&Test: node-20, ubuntu-latest
'ESBUILD_MODULES_TARGET' is declared but its value is never read.
|
Build&Test: node-20, ubuntu-latest
'Rollup' is declared but its value is never read.
|
Build&Test: node-20, ubuntu-latest
'definePlugin' is declared but its value is never read.
|
Build&Test: node-20, ubuntu-latest
'esbuildOutputFromId' is declared but its value is never read.
|
Build&Test: node-20, ubuntu-latest
Property 'rollupOptions' is missing in type '{ esbuildOptions: any; disabled: true; }' but required in type 'DepOptimizationConfig'.
|
Build&Test: node-20, macos-latest
Could not find a declaration file for module '@rollup/pluginutils'. '/Users/runner/work/vite/vite/node_modules/.pnpm/@rollup[email protected][email protected]/node_modules/@rollup/pluginutils/dist/es/index.js' implicitly has an 'any' type.
|
Build&Test: node-20, macos-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, macos-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, macos-latest
Type '{ esbuildOptions: any; disabled: "build"; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20, macos-latest
Property 'esbuildOptions' does not exist on type '{}'.
|
Build&Test: node-20, macos-latest
'ESBUILD_MODULES_TARGET' is declared but its value is never read.
|
Build&Test: node-20, macos-latest
'Rollup' is declared but its value is never read.
|
Build&Test: node-20, macos-latest
'definePlugin' is declared but its value is never read.
|
Build&Test: node-20, macos-latest
'esbuildOutputFromId' is declared but its value is never read.
|
Build&Test: node-20, macos-latest
Property 'rollupOptions' is missing in type '{ esbuildOptions: any; disabled: true; }' but required in type 'DepOptimizationConfig'.
|
Build&Test: node-20.3.1, windows-latest
Could not find a declaration file for module '@rollup/pluginutils'. 'D:/a/vite/vite/node_modules/.pnpm/@rollup[email protected][email protected]/node_modules/@rollup/pluginutils/dist/es/index.js' implicitly has an 'any' type.
|
Build&Test: node-20.3.1, windows-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20.3.1, windows-latest
Type '{ force: boolean | undefined; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20.3.1, windows-latest
Type '{ esbuildOptions: any; disabled: "build"; }' is not assignable to type 'DepOptimizationOptions'.
|
Build&Test: node-20.3.1, windows-latest
Property 'esbuildOptions' does not exist on type '{}'.
|
Build&Test: node-20.3.1, windows-latest
'ESBUILD_MODULES_TARGET' is declared but its value is never read.
|
Build&Test: node-20.3.1, windows-latest
'Rollup' is declared but its value is never read.
|
Build&Test: node-20.3.1, windows-latest
'definePlugin' is declared but its value is never read.
|
Build&Test: node-20.3.1, windows-latest
'esbuildOutputFromId' is declared but its value is never read.
|
Build&Test: node-20.3.1, windows-latest
Property 'rollupOptions' is missing in type '{ esbuildOptions: any; disabled: true; }' but required in type 'DepOptimizationConfig'.
|