@playwright/experimental-ct-core
Advanced tools
Comparing version 1.34.0-alpha-apr-26-2023 to 1.34.0-alpha-apr-27-2023
@@ -269,3 +269,3 @@ "use strict"; | ||
const importPath = value.isModuleOrAlias ? value.importPath : './' + _path.default.relative(folder, value.importPath).replace(/\\/g, '/'); | ||
if (value.importedName) lines.push(`import { ${value.importedName} as ${alias} } from '${importPath}';`);else lines.push(`import ${alias} from '${importPath}';`); | ||
if (value.importedName) lines.push(`const ${alias} = () => import('${importPath}').then((mod) => mod.${value.importedName});`);else lines.push(`const ${alias} = () => import('${importPath}').then((mod) => mod.default);`); | ||
} | ||
@@ -272,0 +272,0 @@ lines.push(`pwRegister({ ${[...componentRegistry.keys()].join(',\n ')} });`); |
{ | ||
"name": "@playwright/experimental-ct-core", | ||
"version": "1.34.0-alpha-apr-26-2023", | ||
"version": "1.34.0-alpha-apr-27-2023", | ||
"description": "Playwright Component Testing Helpers", | ||
@@ -21,3 +21,3 @@ "repository": "github:Microsoft/playwright", | ||
"vite": "^4.2.1", | ||
"@playwright/test": "1.34.0-alpha-apr-26-2023" | ||
"@playwright/test": "1.34.0-alpha-apr-27-2023" | ||
}, | ||
@@ -24,0 +24,0 @@ "bin": { |
41220
+ Added@playwright/test@1.34.0-alpha-apr-27-2023(transitive)
+ Addedplaywright-core@1.34.0-alpha-apr-27-2023(transitive)
- Removed@playwright/test@1.34.0-alpha-apr-26-2023(transitive)
- Removedplaywright-core@1.34.0-alpha-apr-26-2023(transitive)