Added type assert for package json.

This commit is contained in:
SamTV12345 2024-03-17 12:14:28 +01:00
parent 4bcc8b38c8
commit 9f880df4f2

View file

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