mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: async chunks has been cached incorrectly (#5801)
This commit is contained in:
parent
7181861692
commit
201b3c43d2
@ -23,7 +23,7 @@ import {
|
||||
getExcludePackages,
|
||||
getIncludePackages,
|
||||
getPackagesFromFiles,
|
||||
getSourcePackages
|
||||
getSourcePackages,
|
||||
} from './utils/buildPluginUtils';
|
||||
import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
||||
import { RsdoctorRspackPlugin } from '@rsdoctor/rspack-plugin';
|
||||
@ -338,6 +338,7 @@ export async function buildPluginClient(cwd: string, userConfig: UserConfig, sou
|
||||
output: {
|
||||
path: outDir,
|
||||
filename: outputFileName,
|
||||
chunkFilename: '[chunkhash].js',
|
||||
publicPath: `/static/plugins/${packageJson.name}/dist/client/`,
|
||||
clean: true,
|
||||
library: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user