refactor: Use path alias
This commit is contained in:
parent
d6e23b803b
commit
c74fe3c6e2
391 changed files with 557 additions and 557 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import * as P from 'parsimmon';
|
||||
import { createLeaf, createTree, urlRegex } from './prelude';
|
||||
import { takeWhile, cumulativeSum } from '../prelude/array';
|
||||
import parseAcct from '../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import { toUnicode } from 'punycode';
|
||||
import { emojiRegex } from '../misc/emoji-regex';
|
||||
import { emojiRegex } from '@/misc/emoji-regex';
|
||||
|
||||
export function removeOrphanedBrackets(s: string): string {
|
||||
const openBrackets = ['(', '「', '['];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { JSDOM } from 'jsdom';
|
||||
import config from '../config';
|
||||
import config from '@/config';
|
||||
import { intersperse } from '../prelude/array';
|
||||
import { MfmForest, MfmTree } from './prelude';
|
||||
import { IMentionedRemoteUsers } from '../models/entities/note';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { MfmForest, MfmTree } from './prelude';
|
||||
import { nyaize } from '../misc/nyaize';
|
||||
import { nyaize } from '@/misc/nyaize';
|
||||
|
||||
export type RestoreOptions = {
|
||||
doNyaize?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue