Skip to content

Commit 2032e16

Browse files
committed
Delete the out-node build
This isn't actually used. All of the tools are run through ts-node which does this compilation in-memory.
1 parent 8406040 commit 2032e16

File tree

4 files changed

+1
-32
lines changed

4 files changed

+1
-32
lines changed

Gruntfile.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function (grunt) {
1414
pkg: grunt.file.readJSON('package.json'),
1515

1616
clean: {
17-
out: ['gen/', 'out/', 'out-wpt/', 'out-node/'],
17+
out: ['gen/', 'out/', 'out-wpt/'],
1818
},
1919

2020
run: {
@@ -89,14 +89,6 @@ module.exports = function (grunt) {
8989
'--ignore=src/common/tools',
9090
],
9191
},
92-
'build-out-node': {
93-
cmd: 'node',
94-
args: [
95-
'node_modules/typescript/lib/tsc.js',
96-
'--project', 'node.tsconfig.json',
97-
'--outDir', 'out-node/',
98-
],
99-
},
10092
'copy-assets': {
10193
cmd: 'node',
10294
args: [
@@ -188,7 +180,6 @@ module.exports = function (grunt) {
188180
tasks: [
189181
'build-standalone',
190182
'build-wpt',
191-
'run:build-out-node',
192183
],
193184
},
194185
'all-checks': {

cts.code-workspace

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"deploy_key.enc": true,
2727
"node_modules": true,
2828
"out": true,
29-
"out-node": true,
3029
"out-wpt": true,
3130
"docs/tsdoc": true,
3231
"package-lock.json": true

node.tsconfig.json

-20
This file was deleted.

src/webgpu/web_platform/worker/worker.spec.ts

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ g.test('worker')
2727
// is using commonjs which doesn't support import.meta. Further,
2828
// we need to put the url in a string add pass the string to import
2929
// otherwise typescript tries to parse the file which again, fails.
30-
// worker_launcher.js is excluded in node.tsconfig.json.
3130
const url = './worker_launcher.js';
3231
const { launchWorker } = await import(url);
3332
const result = await launchWorker();

0 commit comments

Comments
 (0)