ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
9
packages/grafana-rcon/build.mjs
Normal file
9
packages/grafana-rcon/build.mjs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { mkdir, cp, copyFile } from 'node:fs/promises';
|
||||
await mkdir('dist', { recursive: true });
|
||||
await copyFile('plugin.json', 'dist/plugin.json');
|
||||
for (const name of ['panel', 'datasource']) {
|
||||
await mkdir(`dist/${name}`, { recursive: true });
|
||||
await copyFile(`${name}.json`, `dist/${name}/plugin.json`);
|
||||
await cp('img', `dist/${name}/img`, { recursive: true });
|
||||
}
|
||||
await cp('img', 'dist/img', { recursive: true });
|
||||
Loading…
Reference in a new issue