This reverts commit 4d7b6b4b50.
This commit is contained in:
parent
283bdb8916
commit
1a69b26db1
|
|
@ -12,6 +12,7 @@
|
||||||
"@babel/plugin-transform-modules-commonjs"
|
"@babel/plugin-transform-modules-commonjs"
|
||||||
],
|
],
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"packages/playwright-core/src/injected/**/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -143,13 +143,7 @@ for (const packageDir of packages) {
|
||||||
continue;
|
continue;
|
||||||
steps.push({
|
steps.push({
|
||||||
command: 'npx',
|
command: 'npx',
|
||||||
args: [
|
args: ['babel', ...(watchMode ? ['-w', '--source-maps'] : []), '--extensions', '.ts', '--out-dir', path.join(packageDir, 'lib'), path.join(packageDir, 'src')],
|
||||||
'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')],
|
|
||||||
shell: true,
|
shell: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue