Skip to content

Commit ae927f7

Browse files
committed
WEB: Add dumper companion
1 parent e327a7c commit ae927f7

File tree

10 files changed

+5408
-109
lines changed

10 files changed

+5408
-109
lines changed

build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ async function renderScss(filename) {
2424
renderScss('main_rtl');
2525
renderScss('main_ltr');
2626
renderScss('platforms');
27+
28+
console.log("Copying dumper companion");
29+
fs.copyFileSync("./node_modules/dumper-companion/index.js", "./public_html/js/dumper-companion.js");

dumper-companion/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
node_modules
2-
dist/dumper_companion.bundle.js
2+
index.js

dumper-companion/dist/style.css

Lines changed: 0 additions & 87 deletions
This file was deleted.

dumper-companion/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build": "webpack --mode=production",
66
"build-dev": "webpack --mode=development",
7-
"lint": "eslint ."
7+
"lint": "eslint .",
8+
"preinstall": "webpack --mode=production"
89
},
910
"devDependencies": {
1011
"@typescript-eslint/eslint-plugin": "^4.29.2",

dumper-companion/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = {
44
context: __dirname + "/src",
55
entry: "./app.tsx",
66
output: {
7-
path: __dirname + "/dist",
8-
filename: "dumper_companion.bundle.js"
7+
path: __dirname,
8+
filename: "index.js"
99
},
1010
resolve: {
1111
extensions: [".ts", ".tsx", ".js"]

0 commit comments

Comments
 (0)