Update xterm libary to 4.17

This commit is contained in:
Will Owens 2022-02-26 20:08:53 -05:00
parent ab9ea2b95f
commit bba352a2eb
14 changed files with 2735 additions and 2352 deletions

View file

@ -1,29 +1,30 @@
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
const TerserPlugin = require("terser-webpack-plugin");
module.exports = {
entry: "./src/main.ts",
output: {
filename: "./dist/gotty-bundle.js"
},
devtool: "source-map",
resolve: {
extensions: [".ts", ".tsx", ".js"],
},
module: {
rules: [
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: /node_modules/
},
{
test: /\.js$/,
include: /node_modules/,
loader: 'license-loader'
}
]
},
plugins: [
new UglifyJSPlugin()
entry: "./src/main.ts",
output: {
filename: "./gotty-bundle.js"
},
devtool: "source-map",
resolve: {
extensions: [".ts", ".tsx", ".js"],
},
module: {
rules: [
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: /node_modules/
},
{
test: /\.js$/,
include: /node_modules/,
loader: 'license-loader'
}
]
},
optimization: {
minimize: true,
minimizer: [new TerserPlugin()],
}
};