diff --git a/Gruntfile.js b/Gruntfile.js index 58a967907495..be027f5ba501 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,7 +14,7 @@ module.exports = function (grunt) { pkg: grunt.file.readJSON('package.json'), clean: { - out: ['gen/', 'out/', 'out-wpt/', 'out-node/'], + out: ['gen/', 'out/', 'out-wpt/'], }, run: { @@ -89,14 +89,6 @@ module.exports = function (grunt) { '--ignore=src/common/tools', ], }, - 'build-out-node': { - cmd: 'node', - args: [ - 'node_modules/typescript/lib/tsc.js', - '--project', 'node.tsconfig.json', - '--outDir', 'out-node/', - ], - }, 'copy-assets': { cmd: 'node', args: [ @@ -188,7 +180,6 @@ module.exports = function (grunt) { tasks: [ 'build-standalone', 'build-wpt', - 'run:build-out-node', ], }, 'all-checks': { diff --git a/cts.code-workspace b/cts.code-workspace index 9c7320ce4b64..da65364d1d8b 100644 --- a/cts.code-workspace +++ b/cts.code-workspace @@ -26,7 +26,6 @@ "deploy_key.enc": true, "node_modules": true, "out": true, - "out-node": true, "out-wpt": true, "docs/tsdoc": true, "package-lock.json": true diff --git a/node.tsconfig.json b/node.tsconfig.json deleted file mode 100644 index 74707d408d49..000000000000 --- a/node.tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -// Typescript configuration for compile sources and -// dependent files for usage directly with Node.js. This -// is useful for running scripts in tools/ directly with Node -// without including extra dependencies. -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "commonjs", - "incremental": false, - "noEmit": false, - "declaration": false, - }, - - "exclude": [ - "src/common/runtime/wpt.ts", - "src/common/runtime/standalone.ts", - "src/common/runtime/helper/test_worker.ts", - "src/webgpu/web_platform/worker/worker_launcher.ts" - ] -} diff --git a/src/webgpu/web_platform/worker/worker.spec.ts b/src/webgpu/web_platform/worker/worker.spec.ts index 67f9f693bee0..705380aa3f0d 100644 --- a/src/webgpu/web_platform/worker/worker.spec.ts +++ b/src/webgpu/web_platform/worker/worker.spec.ts @@ -27,7 +27,6 @@ g.test('worker') // is using commonjs which doesn't support import.meta. Further, // we need to put the url in a string add pass the string to import // otherwise typescript tries to parse the file which again, fails. - // worker_launcher.js is excluded in node.tsconfig.json. const url = './worker_launcher.js'; const { launchWorker } = await import(url); const result = await launchWorker();