Fix issue with unexpected assert identifier

This commit is contained in:
Theo 2024-05-12 04:01:45 -07:00
parent 38290d70b6
commit e98929fc5d

@ -2,7 +2,9 @@ import esbuild from 'rollup-plugin-esbuild';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import json from '@rollup/plugin-json';
import pkgJson from './package.json' assert { type: 'json' };
import { readFileSync } from 'fs';
const pkgJson = JSON.parse(readFileSync("./package.json"));
const external = Object.keys(pkgJson.dependencies).concat(
Object.keys(pkgJson.optionalDependencies),