Vite to bundle insomnia plugin

This commit is contained in:
Gregory Schier
2023-11-05 22:13:22 -08:00
parent abc6d0ff1e
commit a74c8a94db
12 changed files with 52 additions and 1180 deletions

View File

@@ -97,7 +97,7 @@ fn run_plugin(
.resolve_resource("plugins")
.expect("failed to resolve plugin directory resource")
.join(plugin_name);
let plugin_index_file = plugin_dir.join("index.js");
let plugin_index_file = plugin_dir.join("dist/index.js");
println!("Plugin dir={:?} file={:?}", plugin_dir, plugin_index_file);