diff --git a/e2e/tests/typescript-project.test.ts b/e2e/tests/typescript-project.test.ts index 731a2907a..bd3de7a31 100644 --- a/e2e/tests/typescript-project.test.ts +++ b/e2e/tests/typescript-project.test.ts @@ -252,7 +252,6 @@ describe('TypeScript Project', () => { \\"forceConsistentCasingInFileNames\\": true, \\"resolveJsonModule\\": true, \\"strict\\": true, - \\"lib\\": [\\"DOM\\", \\"WebWorker\\"], \\"skipLibCheck\\": true, \\"paths\\": { \\"@\\": [\\"..\\"], @@ -296,7 +295,6 @@ describe('TypeScript Project', () => { \\"forceConsistentCasingInFileNames\\": true, \\"resolveJsonModule\\": true, \\"strict\\": true, - \\"lib\\": [\\"DOM\\", \\"WebWorker\\"], \\"skipLibCheck\\": true, \\"paths\\": { \\"@\\": [\\"../src\\"], diff --git a/src/core/utils/building/generate-wxt-dir.ts b/src/core/utils/building/generate-wxt-dir.ts index e808ca8f5..2668c41de 100644 --- a/src/core/utils/building/generate-wxt-dir.ts +++ b/src/core/utils/building/generate-wxt-dir.ts @@ -209,7 +209,6 @@ async function writeTsConfigFile( "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "strict": true, - "lib": ["DOM", "WebWorker"], "skipLibCheck": true, "paths": { "@": ["${srcPath}"],