about summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch')
-rw-r--r--pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch b/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch
new file mode 100644
index 000000000000..8ec7a34d9760
--- /dev/null
+++ b/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/0001-esbuild-config.patch
@@ -0,0 +1,13 @@
+diff --git a/src/kwinscript/CMakeLists.txt b/src/kwinscript/CMakeLists.txt
+index 9e2f7054..ed607027 100644
+--- a/src/kwinscript/CMakeLists.txt
++++ b/src/kwinscript/CMakeLists.txt
+@@ -39,7 +39,7 @@ endif()
+ set(ESBUILD_COMMAND
+     "esbuild" "--bundle" "${CMAKE_CURRENT_SOURCE_DIR}/index.ts"
+     "--outfile=${CMAKE_CURRENT_BINARY_DIR}/bismuth/contents/code/index.mjs"
+-    "--format=esm" "--platform=neutral")
++    "--format=esm" "--platform=neutral" "--target=es6")
+ if(USE_NPM)
+   list(PREPEND ESBUILD_COMMAND "npx")
+ endif()