Example. Add missing file.

The file "sw.js" was removed mistakenly

Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/1098
This commit is contained in:
ArthurSonzogni
2025-08-18 20:50:31 +02:00
parent d20b84f720
commit bfd07ba309

View File

@@ -17,10 +17,12 @@ add_subdirectory(dom)
if (EMSCRIPTEN) if (EMSCRIPTEN)
get_property(EXAMPLES GLOBAL PROPERTY FTXUI::EXAMPLES) get_property(EXAMPLES GLOBAL PROPERTY FTXUI::EXAMPLES)
foreach(file foreach(file
"index.css"
"index.html" "index.html"
"index.mjs" "index.mjs"
"index.css" "run_webassembly.py"
"run_webassembly.py") "sw.js"
)
configure_file(${file} ${file}) configure_file(${file} ${file})
endforeach(file) endforeach(file)
endif() endif()