We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e247828 commit 70babedCopy full SHA for 70babed
scripts/package.js
@@ -55,8 +55,9 @@ archive.on('error', (err) => {
55
// Pipe archive data to the file
56
archive.pipe(output);
57
58
-// Add all files from dist directory
59
-archive.directory(DIST_DIR, false);
+// Add all files from dist directory inside a subdirectory named after the plugin ID
+// This is required by Grafana's plugin packaging format
60
+archive.directory(DIST_DIR, 'cybertec-pev-panel');
61
62
// Finalize the archive
63
archive.finalize();
0 commit comments