summaryrefslogtreecommitdiffstats
path: root/html/webpack.config.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-21 09:24:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-10-21 09:24:51 +0000
commit97d4bdd0effbdc675e8c136ed72c43e7898385d8 (patch)
tree9bbb2849cc74e0751e4eb9e122dd3e9d5c23be2d /html/webpack.config.js
parentAdding upstream version 1.7.1. (diff)
downloadttyd-97d4bdd0effbdc675e8c136ed72c43e7898385d8.tar.xz
ttyd-97d4bdd0effbdc675e8c136ed72c43e7898385d8.zip
Adding upstream version 1.7.2.upstream/1.7.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--html/webpack.config.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/html/webpack.config.js b/html/webpack.config.js
index 593bac3..48e74c3 100644
--- a/html/webpack.config.js
+++ b/html/webpack.config.js
@@ -37,6 +37,15 @@ const baseConfig = {
'sass-loader',
],
},
+ {
+ test: /xterm-addon-image-worker/,
+ type: 'asset/inline',
+ generator: {
+ dataUrl: content => {
+ return content.toString();
+ }
+ }
+ },
]
},
resolve: {