mirror of
https://github.com/sorenisanerd/gotty.git
synced 2025-04-10 04:20:29 +00:00
Launch an Xspice and run: echo -ne "\033]844;127.0.0.1;9876\007" This will launch a SPiCE client connecting to 127.0.0.1:9876. Still need to add all the security stuff and generally be more defensive in the implementation.
36 lines
829 B
JavaScript
36 lines
829 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: "./src/main.ts",
|
|
mode: "development",
|
|
entry: {
|
|
"gotty": "./src/main.ts",
|
|
"spice": "./spice-web-client/run.js",
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, '../bindata/static/js/'),
|
|
},
|
|
devtool: "source-map",
|
|
resolve: {
|
|
extensions: [".ts", ".tsx", ".js"],
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.tsx?$/,
|
|
loader: "ts-loader",
|
|
exclude: /node_modules/
|
|
},
|
|
{
|
|
test: /\.css$/i,
|
|
use: ["style-loader", "css-loader"],
|
|
},
|
|
{
|
|
test: /\.js$/,
|
|
include: /node_modules/,
|
|
loader: 'license-loader'
|
|
},
|
|
],
|
|
},
|
|
};
|