refactor: Use path alias
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user