mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-01-19 03:38:13 +01:00
Replaced help text with link to website
This commit is contained in:
parent
0c802df3d5
commit
5ac361abf0
@ -25,7 +25,6 @@
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
||||
"postcss-loader": "^3.0.0",
|
||||
"raw-loader": "^4.0.2",
|
||||
"sass": "^1.26.10",
|
||||
"sass-loader": "^10.0.1",
|
||||
"svelte": "^3.29.7",
|
||||
|
@ -1,8 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { afterUpdate } from "svelte";
|
||||
|
||||
import helpText from "../../kalk_cli/help.txt";
|
||||
|
||||
let outputLines: string[] = [];
|
||||
let outputElement: HTMLElement;
|
||||
let kalkContext;
|
||||
@ -21,7 +19,8 @@
|
||||
let output: string;
|
||||
|
||||
if (input.trim() == "help") {
|
||||
output = helpText;
|
||||
output =
|
||||
"<a href='https://kalk.netlify.app/#usage' target='blank'>Link to usage guide</a>";
|
||||
} else {
|
||||
// Calculate
|
||||
if (!kalkContext) kalkContext = new kalk.Context();
|
||||
|
4
kalk_web/src/global.d.ts
vendored
4
kalk_web/src/global.d.ts
vendored
@ -1,4 +0,0 @@
|
||||
declare module "*.txt" {
|
||||
const content: any;
|
||||
export default content;
|
||||
}
|
@ -121,10 +121,6 @@ const config: webpack.Configuration & WebpackDevServer.Configuration = {
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.txt$/i,
|
||||
loader: 'raw-loader',
|
||||
},
|
||||
],
|
||||
},
|
||||
devServer: {
|
||||
|
Loading…
Reference in New Issue
Block a user