chore: enforce file extensions on imports (#6202)

* chore: enforce file extensions on imports

To make our output agnostic it should include file extensions in the
output, as per the ESM spec. It's a bit odd for Node packages but makes
it easier to publish a browser build.
This commit is contained in:
Jack Franklin
2020-07-13 10:22:26 +01:00
committed by GitHub
parent 8d6e0d8a79
commit ffec2475d0
79 changed files with 356 additions and 306 deletions

View File

@@ -33,6 +33,7 @@
* find the one closest to our Chromium revision.
*/
// eslint-disable-next-line import/extensions
import { PUPPETEER_REVISIONS } from '../src/revisions';
import { execSync } from 'child_process';