react应用多入口配置
https://www.cnblogs.com/veromcae/p/10012937.html
注意
/* new ManifestPlugin({
fileName: 'asset-manifest.json',
publicPath: paths.publicUrlOrPath,
generate: (seed, files, entrypoints) => {
const manifestFiles = files.reduce((manifest, file) => {
manifest[file.name] = file.path;
return manifest;
}, seed);
const entrypointFiles = entrypoints.main.filter(
fileName => !fileName.endsWith('.map')
);
return {
files: manifestFiles,
entrypoints: entrypointFiles,
};
},
}), */
注释这段代码
以上是 react应用多入口配置 的全部内容, 来源链接: utcz.com/z/382291.html