mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Use webpack to create a CommonJS module from micromark's ESM implementation, convert to using that.
This commit is contained in:
parent
5038f6e154
commit
bb0aa012b5
6 changed files with 57 additions and 5 deletions
|
|
@ -1,8 +1,12 @@
|
|||
// @ts-check
|
||||
|
||||
/* eslint-disable n/no-unpublished-import */
|
||||
|
||||
import assert from "node:assert/strict";
|
||||
// eslint-disable-next-line n/no-unpublished-import
|
||||
import { parse, postprocess, preprocess } from "../micromark/exports.mjs";
|
||||
// @ts-ignore
|
||||
import micromark from "../micromark/micromark.js";
|
||||
// @ts-ignore
|
||||
const { parse, postprocess, preprocess } = micromark;
|
||||
|
||||
/**
|
||||
* Markdown token.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue