1
0
Fork 0

import name and version from data.mjs in plugins

This commit is contained in:
Enoch Riese 2022-09-09 12:13:52 -05:00
parent 181c6200da
commit 2179f29b9f
22 changed files with 22 additions and 22 deletions

View file

@ -1,4 +1,4 @@
import { version, name } from '../package.json' assert { type: 'json' }
import { version, name } from '../data.mjs'
// Helper method to construct prefixed/suffixed name
const getName = (n, so) => `${so.prefix}${n}${so.suffix}`