Track framework bundle separately (#9322)

This commit is contained in:
Joe Haddad 2019-11-05 16:30:03 -05:00 committed by GitHub
parent 42fca6fd15
commit 0022633d37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,10 @@ const renames = [
srcGlob: '.next/static/chunks/commons!(*.module.js)',
dest: '.next/static/chunks/commons.HASH.js'
},
{
srcGlob: '.next/static/chunks/framework!(*.module.js)',
dest: '.next/static/chunks/framework.HASH.js'
},
// modern
{
srcGlob: '.next/static/runtime/main-*.module.js',
@ -69,6 +73,10 @@ const renames = [
srcGlob: '.next/static/chunks/commons*.module.js',
dest: '.next/static/chunks/commons.HASH.module.js'
},
{
srcGlob: '.next/static/chunks/framework*.module.js',
dest: '.next/static/chunks/framework.HASH.module.js'
},
// misc
{
srcGlob: '.next/static/*/_buildManifest.js',