Skip to main content

devtools-json

The devtools-json add-on installs vite-plugin-devtools-json, which is a Vite plugin for generating a Chromium DevTools project settings file on-the-fly in the development server. This file is served from /.well-known/appspecific/com.chrome.devtools.json and tells Chromium browsers where your project’s source code lives so that you can use the workspaces feature to edit source files in the browser.

Installing the plugin enables the feature for all users connecting to the dev server with a Chromium browser, and allows the browser to read and write all files within the directory. If using Chrome’s AI Assistance feature, this may also result in data being sent to Google.

Usage

npx sv add devtools-json

What you get

  • vite-plugin-devtools-json added to your Vite plugin options

Edit this page on GitHub llms.txt

previous next