Added type assert for package json.

This commit is contained in:
SamTV12345 2024-03-17 12:17:22 +01:00
parent 9f880df4f2
commit 50c28c2fa1

View file

@ -2,7 +2,7 @@ import exec from 'child_process'
import fs from 'fs' import fs from 'fs'
import path from 'path' import path from 'path'
import pjson from './src/package.json' with {type: "json"} import pjson from './src/package.json' assert {type: "json"}
const VERSION=pjson.version const VERSION=pjson.version
console.log(`Building docs for version ${VERSION}`) console.log(`Building docs for version ${VERSION}`)