Skip to content

Commit

Permalink
📦️ chore: Exclude Playwright from compilation step
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Dec 2, 2023
1 parent f632c68 commit dd7333c
Showing 5 changed files with 15 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -6,5 +6,6 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
sourcemap: true
sourcemap: true,
external: ['playwright-core']
})
2 changes: 1 addition & 1 deletion packages/fixtures/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -7,5 +7,5 @@ export default defineConfig({
format: 'esm',
splitting: false,
sourcemap: true,
external: ['metamask']
external: ['@playwright/test']
})
10 changes: 7 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion wallets/metamask/package.json
Original file line number Diff line number Diff line change
@@ -38,13 +38,15 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@playwright/test": "1.40.0",
"@types/node": "^20.8.0",
"@vitest/coverage-v8": "1.0.0-beta.0",
"rimraf": "^5.0.1",
"tsconfig": "workspace:*",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"peerDependencies": {
"@playwright/test": "1.40.0"
}
}
3 changes: 2 additions & 1 deletion wallets/metamask/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -6,5 +6,6 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
sourcemap: true
sourcemap: true,
external: ['@playwright/test']
})

0 comments on commit dd7333c

Please sign in to comment.