Skip to content

Commit

Permalink
fix(site): remove use of assert { type: ... } for better nodejs com…
Browse files Browse the repository at this point in the history
…pat (#1962)

<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Jan 30, 2025
1 parent d8c9a9a commit b44278c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/scripts/generateNavigation.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { writeFile, readFile } from 'fs/promises';
import { remark } from 'remark';
import glob from 'fast-glob';
import apiPages from '../src/generated/apiPages.json' assert { type: 'json' };
import engineStyles from '../src/lib/engineStyles.json' assert { type: 'json' };
// import apiPages from '../src/generated/apiPages.json' assert { type: 'json' };
// import engineStyles from '../src/lib/engineStyles.json' assert { type: 'json' };
import { slugifyWithCounter } from '@sindresorhus/slugify';
import { visit } from 'unist-util-visit';
import { toString } from 'mdast-util-to-string';
Expand Down

0 comments on commit b44278c

Please sign in to comment.