slint/tools/online_editor
Simon Hausmann bf865d4036 Further trim the dist build of the online editor
Re-use the wasm interpreter from the web site when building for the web
site. It's built & copied in the CI at the same time, and we can
convince rollup to preserve the relative link for production builds,
while aliasing to the local directory for dev builds.

This brings down the editor to ~2.3MB on my machine.
2022-01-06 09:55:34 +01:00
..
.gitignore Ignore the generated pkg/ directory 2020-10-12 11:26:15 +02:00
highlighting.ts Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
index.html Make it faster to develop the online editor 2022-01-06 09:55:34 +01:00
index.ts Further trim the dist build of the online editor 2022-01-06 09:55:34 +01:00
package.json Further trim the dist build of the online editor 2022-01-06 09:55:34 +01:00
preview.html Make it faster to develop the online editor 2022-01-06 09:55:34 +01:00
preview.ts Further trim the dist build of the online editor 2022-01-06 09:55:34 +01:00
README.md README for the online_editor 2022-01-03 14:33:50 +01:00
tsconfig.json Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
vite.config.js Further trim the dist build of the online editor 2022-01-06 09:55:34 +01:00

This directory contains the frontend code for the online code editor which is hosted in https://sixtyfps.io/editor

To try it out locally type this in this directory:

npm install
npm start