Skip to content

Commit acc3607

Browse files
add a TODO for removing in-browser compilation for that CPU profiler bit
1 parent 9ac6908 commit acc3607

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/bundles/plugins/typescript-source-plugin.ts

+2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ async function bundleTypeScriptSource(tsPath: string, opts: BuildOptions): Promi
6666
code = removeFromSource(code, `getDefaultLibFilePath: () => getDefaultLibFilePath,`);
6767

6868
// remove the CPUProfiler since it uses node apis
69+
// TODO(STENCIL-816): remove in-browser compilation
6970
code = removeFromSource(code, `enableCPUProfiler,`);
71+
// TODO(STENCIL-816): remove in-browser compilation
7072
code = removeFromSource(code, `disableCPUProfiler,`);
7173

7274
// this is a ~~sketchy~~ thing to do!

0 commit comments

Comments
 (0)