accordproject / markdown-transform

Parse and transform markdown text, including TemplateMark markdown templates
Apache License 2.0
71 stars 49 forks source link

Remove dependency on 'util' node package #591

Closed dselman closed 5 months ago

dselman commented 5 months ago

Bug Report 🐛

The require of this package (and using it as runtime to report errors) is causing an issue in browser environments (Vite) where this package is not available.

Expected Behavior

Module should be useable in the browser.

Current Behavior

Vite dependency analysis doesn't like this.

Possible Solution

Steps to Reproduce

1. 2. 3. 4.

Context (Environment)

Desktop

Detailed Description

Possible Implementation