[ci] format
This commit is contained in:
parent
fe316be86f
commit
19be918c59
1 changed files with 2 additions and 2 deletions
|
@ -163,8 +163,8 @@ function buildManifest(
|
||||||
for (const pageData of eachServerPageData(internals)) {
|
for (const pageData of eachServerPageData(internals)) {
|
||||||
const scripts: SerializedRouteInfo['scripts'] = [];
|
const scripts: SerializedRouteInfo['scripts'] = [];
|
||||||
if (pageData.hoistedScript) {
|
if (pageData.hoistedScript) {
|
||||||
const hoistedValue = pageData.hoistedScript.value
|
const hoistedValue = pageData.hoistedScript.value;
|
||||||
const value = hoistedValue.endsWith('.js') ? joinBase(hoistedValue) : hoistedValue
|
const value = hoistedValue.endsWith('.js') ? joinBase(hoistedValue) : hoistedValue;
|
||||||
scripts.unshift(
|
scripts.unshift(
|
||||||
Object.assign({}, pageData.hoistedScript, {
|
Object.assign({}, pageData.hoistedScript, {
|
||||||
value,
|
value,
|
||||||
|
|
Loading…
Reference in a new issue