fix: import path doesn't have '.js' extension
This commit is contained in:
parent
f6e8f35aff
commit
a32045f52a
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module '@twemoji/parser/dist/lib/regex' {
|
||||
declare module '@twemoji/parser/dist/lib/regex.js' {
|
||||
const regex: RegExp;
|
||||
export default { default: regex };
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import { URL } from 'node:url';
|
|||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import * as parse5 from 'parse5';
|
||||
import { Window, XMLSerializer } from 'happy-dom';
|
||||
import twemojiRegex from '@twemoji/parser/dist/lib/regex';
|
||||
import twemojiRegex from '@twemoji/parser/dist/lib/regex.js';
|
||||
import { DI } from '@/di-symbols.js';
|
||||
import type { Config } from '@/config.js';
|
||||
import { intersperse } from '@/misc/prelude/array.js';
|
||||
|
|
Loading…
Reference in New Issue