Skip to content

Commit 13afdb1

Browse files
committed
update static paths
1 parent 44a2a0c commit 13afdb1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/sw/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SWReplay } from "@webrecorder/wabac/src/swmain";
44
// @ts-expect-error - TS2307 - Cannot find module '@webrecorder/awp-sw' or its corresponding type declarations.
55
import { ExtAPI, RecordingCollections } from "@webrecorder/awp-sw";
66

7-
import REC_INDEX_HTML from "../static/index.html";
7+
import REC_INDEX_HTML from "@/static/index.html";
88
import RWP_INDEX_HTML from "replaywebpage/index.html";
99

1010
// @ts-expect-error - TS7016 - Could not find a declaration file for module '@webrecorder/wabac/src/loaders'. '/Users/emma/Work/Webrecorder/archiveweb.page/node_modules/@webrecorder/wabac/src/loaders.js' implicitly has an 'any' type.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"skipLibCheck": true,
34-
"paths": { "@/static/*": ["./static/*"] }
34+
"paths": { "@/*": ["./*"] }
3535
},
3636
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.js"]
3737
}

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const extensionWebConfig = (env, argv) => {
212212
];
213213

214214
const copy = [
215-
{ from: "src/static/", to: "./" },
215+
{ from: "static", to: "./" },
216216
{ from: "ruffle", to: "./ruffle/" },
217217
];
218218

0 commit comments

Comments
 (0)