Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(npm): include JSON and skill markdown files in bundle (#39689)

Pavel Feldmanef45dd4be704
diff --git a/packages/playwright-core/.npmignore b/packages/playwright-core/.npmignore
index 6c22b80f90..119bbff9eb 100644
--- a/packages/playwright-core/.npmignore
+++ b/packages/playwright-core/.npmignore
@@ -10,6 +10,8 @@
!lib/**/*.png
!lib/**/*.svg
!lib/**/*.ttf
+!lib/**/*.json
+!lib/skill/**/*.md
!lib/utilsBundleImpl/xdg-open
!lib/**/manifest.webmanifest
# Exclude injected files. A preprocessed version of these is included via lib/generated.
@@ -37,6 +39,4 @@ lib/**/injected/
!NOTICE
# Include browser descriptors.
!browsers.json
-# Include generated devices descriptors
-!deviceDescriptorsSource.json
!ThirdPartyNotices.txt