diff --git a/.dumi/theme/plugin.ts b/.dumi/theme/plugin.ts index fb86cb0941ec..9c839ecad96f 100644 --- a/.dumi/theme/plugin.ts +++ b/.dumi/theme/plugin.ts @@ -182,26 +182,6 @@ const RoutesPlugin = (api: IApi) => { // exclude dynamic route path, to avoid deploy failed by `:id` directory .filter((f) => !f.path.includes(':')) .map((file) => { - let globalStyles = ''; - - // Debug for file content: uncomment this if need check raw out - // const tmpFileName = `_${file.path.replace(/\//g, '-')}`; - // const tmpFilePath = path.join(api.paths.absOutputPath, tmpFileName); - // fs.writeFileSync(tmpFilePath, file.content, 'utf8'); - - // extract all emotion style tags from body - file.content = file.content.replace( - /