fix: Ignores hot update files when generating the manifest (#24871)

This commit is contained in:
Michael S. Molina 2023-08-03 10:20:01 -03:00 committed by GitHub
parent 371bffbfea
commit aee2695413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -98,11 +98,10 @@ const plugins = [
.filter(x => x.endsWith('.css'))
.map(x => `${output.publicPath}${x}`),
js: chunks
.filter(x => x.endsWith('.js'))
.filter(x => x.endsWith('.js') && x.match(/(?<!hot-update).js$/))
.map(x => `${output.publicPath}${x}`),
};
});
return {
...seed,
entrypoints: entryFiles,