Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Sep 6, 2024
1 parent bc30ff9 commit 08e8ff7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export { getCustomRewriter, rewriteDASH, rewriteHLS, Rewriter } from "./rewrite";
export {
getCustomRewriter,
rewriteDASH,
rewriteHLS,
Rewriter,
} from "./rewrite";

export { ArchiveRequest } from "./request";

Expand Down
12 changes: 5 additions & 7 deletions webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ const CopyPlugin = require("copy-webpack-plugin");
const package_json = require("./package.json");
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");


const wombatBuild = {
name: "wombat",
mode: "production",
target: "web",
entry: {
"wombat": "@webrecorder/wombat/src/wbWombat.js",
"wombatWorkers": "@webrecorder/wombat/src/wombatWorkers.js",
wombat: "@webrecorder/wombat/src/wbWombat.js",
wombatWorkers: "@webrecorder/wombat/src/wombatWorkers.js",
},
output: {
path: path.join(__dirname, "dist-wombat"),
Expand All @@ -30,8 +29,7 @@ const wombatBuild = {
}),
],
},
}

};

const mainBuild = {
name: "main",
Expand All @@ -49,7 +47,7 @@ const mainBuild = {
publicPath: "/dist/",
globalObject: "self",
library: {
type: 'module',
type: "module",
},
},

Expand All @@ -65,7 +63,7 @@ const mainBuild = {
},

experiments: {
outputModule: true
outputModule: true,
},

devServer: {
Expand Down

0 comments on commit 08e8ff7

Please sign in to comment.