Skip to content

Commit

Permalink
Resolve all rollup imports to node_modules to avoid type conflict (#5386
Browse files Browse the repository at this point in the history
)

Resolve all rollup imports to node_modules
  • Loading branch information
TrickyPi committed Feb 10, 2024
1 parent 8fecd35 commit b4164c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/types.d.ts
@@ -1,6 +1,5 @@
import type { SourceMap } from 'magic-string';
import type { RollupLog } from 'rollup';
import type { RollupBuild, RollupError, RollupOptions } from '../src/rollup/types';
import type { RollupBuild, RollupError, RollupLog, RollupOptions } from '../src/rollup/types';

export interface TestConfigBase {
/**
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Expand Up @@ -11,7 +11,10 @@
"skipLibCheck": true,
"strict": true,
"target": "ES2022",
"useDefineForClassFields": false
"useDefineForClassFields": false,
"paths": {
"rollup": ["./node_modules/rollup"]
}
},
"include": ["typings/**/*.d.ts", "src", "cli", "browser", "rollup.config.ts", "native"],
"exclude": ["dist", "node_modules", "test/typescript", "browser/dist"]
Expand Down

0 comments on commit b4164c5

Please sign in to comment.