diff options
Diffstat (limited to 'dev/build-libs.js')
-rw-r--r-- | dev/build-libs.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/build-libs.js b/dev/build-libs.js index f1570fad..0d42f340 100644 --- a/dev/build-libs.js +++ b/dev/build-libs.js @@ -41,8 +41,8 @@ async function buildLib(scriptPath) { outfile: path.join(extDir, 'lib', path.basename(scriptPath)), external: ['fs'], banner: { - js: '// @ts-nocheck' - } + js: '// @ts-nocheck', + }, }); } @@ -52,7 +52,7 @@ async function buildLib(scriptPath) { export async function buildLibs() { const devLibPath = path.join(dirname, 'lib'); const files = await fs.promises.readdir(devLibPath, { - withFileTypes: true + withFileTypes: true, }); for (const f of files) { if (f.isFile()) { @@ -71,7 +71,7 @@ export async function buildLibs() { const ajv = new Ajv({ schemas, code: {source: true, esm: true}, - allowUnionTypes: true + allowUnionTypes: true, }); const moduleCode = standaloneCode(ajv); |