anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / desktops / plasma-5 / 3rdparty / addons / bismuth / 0001-esbuild-config.patch
blob8ec7a34d976059ae1c60cd316cc4942c3b10f81a
1 diff --git a/src/kwinscript/CMakeLists.txt b/src/kwinscript/CMakeLists.txt
2 index 9e2f7054..ed607027 100644
3 --- a/src/kwinscript/CMakeLists.txt
4 +++ b/src/kwinscript/CMakeLists.txt
5 @@ -39,7 +39,7 @@ endif()
6 set(ESBUILD_COMMAND
7 "esbuild" "--bundle" "${CMAKE_CURRENT_SOURCE_DIR}/index.ts"
8 "--outfile=${CMAKE_CURRENT_BINARY_DIR}/bismuth/contents/code/index.mjs"
9 - "--format=esm" "--platform=neutral")
10 + "--format=esm" "--platform=neutral" "--target=es6")
11 if(USE_NPM)
12 list(PREPEND ESBUILD_COMMAND "npx")
13 endif()