Switch to use nodenext module resolution

This better enforces that imports end with a file extension and also use relative paths
This commit is contained in:
Matt Bierner
2024-12-19 12:03:31 -08:00
parent 5e26b3d7c3
commit fca5600bbd
7 changed files with 13 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ import * as path from 'path';
import * as fs from 'fs';
import { fileURLToPath } from 'url';
import { createRequire } from 'node:module';
import type { IProductConfiguration } from './vs/base/common/product';
import type { IProductConfiguration } from './vs/base/common/product.ts';
const require = createRequire(import.meta.url);
const __dirname = path.dirname(fileURLToPath(import.meta.url));