Skip to content

Commit

Permalink
Small UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madhead committed Oct 26, 2023
1 parent 6d8d3c4 commit f345705
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions mini-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Tyzenhaus</title>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions mini-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es5",
"module": "commonjs",
"esModuleInterop": true,
"sourceMap": true,
"strict": true,
"lib": ["dom", "es5"],
"jsx": "react-jsx"
Expand Down
14 changes: 13 additions & 1 deletion mini-app/webpack/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import HtmlWebpackPlugin from "html-webpack-plugin";

const root = path.resolve(__dirname, "..");
const src = path.resolve(root, "src");
const build = path.resolve(root, "build");

const configuration: webpack.Configuration = {
entry: {
history: [path.resolve(src, "history/history.tsx")],
expense: [path.resolve(src, "expense/expense.tsx")],
},
output: {
path: path.resolve(root, "build"),
path: build,
publicPath: "/app",
},
optimization: {
Expand Down Expand Up @@ -61,6 +62,17 @@ const configuration: webpack.Configuration = {
},
],
},
{
test: /\.css$/,
use: [
{
loader: "style-loader",
},
{
loader: "css-loader",
},
],
},
],
},
plugins: [
Expand Down

0 comments on commit f345705

Please sign in to comment.