Skip to content

Commit a95507e

Browse files
committed
chore: remove async js chunk inject
1 parent 1b32cc4 commit a95507e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/server/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const getAsyncCssChunk = async (ctx: ISSRContext, webpackChunkName: strin
8484
}
8585
export const getAsyncJsChunk = async (ctx: ISSRContext, webpackChunkName: string, config: IConfig): Promise<string[]> => {
8686
const { jsOrder, extraJsOrder, jsOrderPriority } = config
87-
const combineOrder = jsOrder.concat([...nomalrizeOrder(extraJsOrder, ctx), ...await addAsyncChunk(webpackChunkName, config, 'js')])
87+
const combineOrder = jsOrder.concat([...nomalrizeOrder(extraJsOrder, ctx)])
8888
if (jsOrderPriority) {
8989
const priority = typeof jsOrderPriority === 'function' ? jsOrderPriority({ chunkName: webpackChunkName }) : jsOrderPriority
9090
combineOrder.sort((a, b) => {

0 commit comments

Comments
 (0)