diff --git a/src/loaders/markdown/index.ts b/src/loaders/markdown/index.ts index db0b3fac20..a44ae35370 100644 --- a/src/loaders/markdown/index.ts +++ b/src/loaders/markdown/index.ts @@ -148,10 +148,6 @@ export default function mdLoader(this: any, content: string) { const opts: IMdLoaderOptions = this.getOptions(); const cb = this.async(); - // disable cache for avoid onResolveDemos and onResolveAtomMeta not work - // and dumi already save cache by self, loader cache is unnecessary - this.cacheable(false); - const cache = getCache('md-loader'); // format: {path:mtime:loaderOpts} const baseCacheKey = [