Skip to content

Commit 397e57c

Browse files
Place the runtime JS files beside the template files
So that we can remove @ts-ignore hacks in the template files.
1 parent 55ca25a commit 397e57c

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

Diff for: Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@ perf-tester:
3939
.PHONY: regenerate_swiftpm_resources
4040
regenerate_swiftpm_resources:
4141
npm run build
42-
cp Runtime/lib/index.js Runtime/lib/index.mjs Runtime/lib/index.d.ts Sources/JavaScriptKit/Runtime
42+
cp Runtime/lib/index.js Plugins/PackageToJS/Templates/runtime.js
43+
cp Runtime/lib/index.mjs Plugins/PackageToJS/Templates/runtime.mjs
44+
cp Runtime/lib/index.d.ts Plugins/PackageToJS/Templates/runtime.d.ts
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)