Open steinybot opened 3 years ago
It would be nice if it was also able to find assets used when creating DevTools such as:
chrome.devtools.panels.create("Font Picker", "FontPicker.png", "Panel.html", function(panel) { ... });
and
chrome.devtools.panels.elements.createSidebarPane("Font Properties", function(sidebar) { sidebar.setPage("Sidebar.html"); sidebar.setHeight("8ex"); } );
See https://developer.chrome.com/docs/extensions/reference/devtools_panels/#method-ExtensionSidebarPane-setPage
As a workaround I figured out I could put this in vite.config.ts:
vite.config.ts
build: { rollupOptions: { input: { manifest: "src/manifest.json", panel: "src/panel.html" } } }
It would be nice if it was also able to find assets used when creating DevTools such as:
and
See https://developer.chrome.com/docs/extensions/reference/devtools_panels/#method-ExtensionSidebarPane-setPage