File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1
1
import path from 'path' ;
2
2
import fs from 'fs' ;
3
3
import { fileURLToPath } from 'url' ;
4
- const dirname = path . dirname (
5
- fileURLToPath (
6
- // @ts -expect-error -- Cannot change `module` option
7
- import . meta. url
8
- )
9
- ) ;
4
+ const dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
10
5
11
6
/** Generate SvelteKit routes files */
12
7
export default function generateRoutes ( ) : void {
Original file line number Diff line number Diff line change 1
1
import highlight from './highlight.mjs' ;
2
2
import replaceLinkPlugin from './markdown-it-replace-link.mjs' ;
3
- // @ts -expect-error missing types
4
3
import { full as emojiPlugin } from 'markdown-it-emoji' ;
5
4
import anchorPlugin from 'markdown-it-anchor' ;
6
5
import containerPlugin from 'markdown-it-container' ;
You can’t perform that action at this time.
0 commit comments