diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22 diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..6203f97 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,8 @@ +[build] +publish = 'examples/dist/' +command = 'npm run prepack && npx vite build example' + +[[headers]] + for = '/*' + [headers.values] + Content-Security-Policy = "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'"