Skip to content

Commit

Permalink
move document and utils together
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Dec 9, 2024
1 parent 0f91fb0 commit 87cd841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/document.ts → src/document/document.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getFrameRate, PlayInfo } from "./document/frameRateUtils";
import { DataCache } from "./utils/cache";
import { InjectedScriptMessageSend, sourceId } from "./utils/injectedScriptMessageUtils";
import { DataCache } from "../utils/cache";
import { InjectedScriptMessageSend, sourceId } from "../utils/injectedScriptMessageUtils";
import { PlayInfo, getFrameRate } from "./frameRateUtils";

const playInfoCache = new DataCache<string, PlayInfo[]>(() => []);

Expand Down
2 changes: 1 addition & 1 deletion webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const edgeLanguages = [
module.exports = env => {
const documentScriptBuild = webpack({
entry: {
document: path.join(__dirname, srcDir + 'document.ts')
document: path.join(__dirname, srcDir + 'document/document.ts')
},
output: {
path: path.join(__dirname, '../dist/js'),
Expand Down

0 comments on commit 87cd841

Please sign in to comment.