mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f1a6b8d66d
* chore: vendor Mitt into src/common/third-party As discussed in #6203 we need to vendor our common dependencies in so that when we ship an ESM build all imports point to file paths and do not rely on Node resolution (e.g. a browser does not understand `import mitt from 'mitt'`).
12 lines
344 B
JavaScript
12 lines
344 B
JavaScript
const path = require('path');
|
|
|
|
require('ts-node').register({
|
|
/**
|
|
* We ignore the lib/ directory because that's already been TypeScript
|
|
* compiled and checked. So we don't want to check it again as part of running
|
|
* the unit tests.
|
|
*/
|
|
ignore: ['lib/*', 'node_modules'],
|
|
project: path.join(__dirname, 'tsconfig.test.json'),
|
|
});
|