From 34f61a3bb999fac218de286a3fe53b5758bb7ef9 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 11 Feb 2021 03:13:48 +0800 Subject: [PATCH] chore: update kktrc config. --- .kktrc.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.kktrc.ts b/.kktrc.ts index a4cb957df..939654ce4 100644 --- a/.kktrc.ts +++ b/.kktrc.ts @@ -38,6 +38,11 @@ export default (conf: Configuration, env: 'production' | 'development', options: name: 'micromark-vendor', chunks: 'all', }, + prismjs: { + test: /[\\/]node_modules[\\/](prismjs)[\\/]/, + name: 'prismjs-vendor', + chunks: 'async', + }, }, }, };