mirror of
https://github.com/microsoft/playwright.git
synced 2024-08-16 23:50:33 +03:00
This reverts commit 4d7b6b4b50
.
This commit is contained in:
parent
283bdb8916
commit
1a69b26db1
@ -12,6 +12,7 @@
|
||||
"@babel/plugin-transform-modules-commonjs"
|
||||
],
|
||||
"ignore": [
|
||||
"**/*.d.ts"
|
||||
"**/*.d.ts",
|
||||
"packages/playwright-core/src/injected/**/*"
|
||||
]
|
||||
}
|
||||
|
@ -143,13 +143,7 @@ for (const packageDir of packages) {
|
||||
continue;
|
||||
steps.push({
|
||||
command: 'npx',
|
||||
args: [
|
||||
'babel',
|
||||
...(watchMode ? ['-w', '--source-maps'] : []),
|
||||
'--extensions', '.ts',
|
||||
'--out-dir', path.join(packageDir, 'lib'),
|
||||
'--ignore', 'packages/playwright-core/src/server/injected/**/*,packages/playwright-core/src/web/**/*',
|
||||
path.join(packageDir, 'src')],
|
||||
args: ['babel', ...(watchMode ? ['-w', '--source-maps'] : []), '--extensions', '.ts', '--out-dir', path.join(packageDir, 'lib'), path.join(packageDir, 'src')],
|
||||
shell: true,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user