Skip to content

Commit

Permalink
Delete the out-node build
Browse files Browse the repository at this point in the history
This isn't actually used. All of the tools are run through ts-node which
does this compilation in-memory.
  • Loading branch information
kainino0x committed Nov 11, 2023
1 parent 8406040 commit 2032e16
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 32 deletions.
11 changes: 1 addition & 10 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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: [
Expand Down Expand Up @@ -188,7 +180,6 @@ module.exports = function (grunt) {
tasks: [
'build-standalone',
'build-wpt',
'run:build-out-node',
],
},
'all-checks': {
Expand Down
1 change: 0 additions & 1 deletion cts.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions node.tsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion src/webgpu/web_platform/worker/worker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2032e16

Please sign in to comment.