2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-15 16:58:14 +00:00
Files
InvenTree/src/frontend/netlify.toml

24 lines
520 B
TOML

# Netlify configuration file
# https://www.netlify.com/docs/netlify-toml-reference/
[build]
command = "yarn run extract && yarn run compile && yarn run build --outDir dist"
publish = "dist"
[build.environment]
VITE_DEMO = "true"
PYTHON_VERSION = "3.11"
# Send requests to subpath
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[plugins]]
package = "@netlify/plugin-lighthouse"
[plugins.inputs.settings]
preset = "desktop" # Optionally run Lighthouse using a desktop configuration