Skip to content

Commit a38e006

Browse files
authored
chore: remove unused constant (#2465)
1 parent 498ef22 commit a38e006

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

packages/shared/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export {
88
addLeadingSlash,
99
addTrailingSlash,
1010
cleanUrl,
11-
DEFAULT_HIGHLIGHT_LANGUAGES,
1211
HASH_REGEXP,
1312
inBrowser,
1413
isDataUrl,

packages/shared/src/runtime-utils/utils.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ export const APPEARANCE_KEY = 'rspress-theme-appearance';
55
export const SEARCH_INDEX_NAME = 'search_index';
66
export const RSPRESS_TEMP_DIR = '.rspress';
77

8-
export const DEFAULT_HIGHLIGHT_LANGUAGES = [
9-
['js', 'javascript'],
10-
['ts', 'typescript'],
11-
['jsx', 'tsx'],
12-
['xml', 'xml-doc'],
13-
['md', 'markdown'],
14-
['mdx', 'tsx'],
15-
];
16-
178
// TODO: these utils should be divided into node and runtime
189
export const isProduction = () => process.env.NODE_ENV === 'production';
1910

0 commit comments

Comments
 (0)