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,
|
getExcludePackages,
|
||||||
getIncludePackages,
|
getIncludePackages,
|
||||||
getPackagesFromFiles,
|
getPackagesFromFiles,
|
||||||
getSourcePackages
|
getSourcePackages,
|
||||||
} from './utils/buildPluginUtils';
|
} from './utils/buildPluginUtils';
|
||||||
import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
||||||
import { RsdoctorRspackPlugin } from '@rsdoctor/rspack-plugin';
|
import { RsdoctorRspackPlugin } from '@rsdoctor/rspack-plugin';
|
||||||
@ -338,6 +338,7 @@ export async function buildPluginClient(cwd: string, userConfig: UserConfig, sou
|
|||||||
output: {
|
output: {
|
||||||
path: outDir,
|
path: outDir,
|
||||||
filename: outputFileName,
|
filename: outputFileName,
|
||||||
|
chunkFilename: '[chunkhash].js',
|
||||||
publicPath: `/static/plugins/${packageJson.name}/dist/client/`,
|
publicPath: `/static/plugins/${packageJson.name}/dist/client/`,
|
||||||
clean: true,
|
clean: true,
|
||||||
library: {
|
library: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user